Codesandbox-client: Chose installed version of TypeScript for editor

Created on 24 Nov 2019  路  2Comments  路  Source: codesandbox/codesandbox-client

Question / Bug

I'm not able to choose installed TypeScript version in editor. is this a bug or missing feature ?

Thanks!

image

.vscode/settings.json

{
    "files.autoSave": "onFocusChange",
    "typescript.suggest.autoImports": true,
    "typescript.tsdk": "node_modules/typescript/lib"
}

package.json

{
  "name": "parcel-sandbox",
  "version": "1.0.0",
  "description": "Simple Parcel Sandbox",
  "main": "index.html",
  "scripts": {
    "start": "parcel index.html --open",
    "build": "parcel build index.html"
  },
  "dependencies": {},
  "devDependencies": {
    "typescript": "3.7.2",
    "parcel-bundler": "^1.6.1"
  }
}

related https://github.com/codesandbox/codesandbox-client/issues/942

Most helpful comment

Hey!

On client sandboxes we don't really install node modules so you have to use the one on VSCode, this is most likely possible with a container as the node modules will be installed there.

It's a missing feature on client sandboxes as node modules folder doesn't exist

right, so with that said, there is no option to use different version of TS, except that one which is shipped with client?

thx!

All 2 comments

Hey!

On client sandboxes we don't really install node modules so you have to use the one on VSCode, this is most likely possible with a container as the node modules will be installed there.

It's a missing feature on client sandboxes as node modules folder doesn't exist

Hey!

On client sandboxes we don't really install node modules so you have to use the one on VSCode, this is most likely possible with a container as the node modules will be installed there.

It's a missing feature on client sandboxes as node modules folder doesn't exist

right, so with that said, there is no option to use different version of TS, except that one which is shipped with client?

thx!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kentcdodds picture kentcdodds  路  3Comments

MarcelloTheArcane picture MarcelloTheArcane  路  3Comments

Haroenv picture Haroenv  路  3Comments

miukimiu picture miukimiu  路  3Comments

wojciechczerniak picture wojciechczerniak  路  3Comments