2016-09-09 1 views
1

저는 Windows 10을 사용하고 있습니다. 환경 설정에서 타이프 스크립트 sdk를 설정할 수 있습니다.리눅스 서브 시스템의 타이프 스크립트 사용

// Specifies the folder path containing the tsserver and lib*.d.ts files to use. "typescript.tsdk": null

어떻게 서브 시스템에 설치 타이프 라이터를 사용하는 (윈도우 10에 설치) 비주얼 스튜디오 코드를 알 수 있습니까?

답변

1

TypeScript tsserver.js 파일이 들어있는 디렉토리를 가리키는 typescript.tsdk 설정 (파일> 환경 설정> 사용자 설정)을 정의 할 수 있습니다. ,

{ 
    "typescript.tsdk": "/Users/username/.nvm/versions/node/v4.4.5/lib/node_modules/typescript/lib" 
} 

enter image description here enter image description here

+0

이에게 기회를 줄 것 :

예를 들어, 내 GLOBLE 타이프 라이터는 는 그 핥고 내 setting.json을 설정할 수 있습니다 /Users/username/.nvm/versions/node/v4.4.5/lib/node_modules/typescript/에있다 감사! – sunnyrjuneja

+1

명령 행에서 npm을 실행하면 마지막 행에서 시스템 node_modules 경로를 얻을 수 있습니다. –

관련 문제