clearlove's blog

禅与计算机编程艺术

vuePress-theme-reco Clear Love    2020 - 2022
clearlove's blog clearlove's blog

Choose mode

  • dark
  • auto
  • light
Home
Category
  • favorite
  • front-end-js
  • java
  • command
  • deploy
  • setting
  • linux
  • android
  • front-end-angular
  • base64
  • front-end-css
  • database
  • docker-compose
  • security
  • docker
  • es6
  • big-data
  • front-end-html
  • back-end-java
  • kafka
  • markdown
  • back-end-maven
  • python
  • io
  • front-end-ts
  • typescript
  • tools
  • hot-key
  • vscode
  • windows
Tag
TimeLine
author-avatar

Clear Love

204

Articles

148

Tags

    Home
    Category
    • favorite
    • front-end-js
    • java
    • command
    • deploy
    • setting
    • linux
    • android
    • front-end-angular
    • base64
    • front-end-css
    • database
    • docker-compose
    • security
    • docker
    • es6
    • big-data
    • front-end-html
    • back-end-java
    • kafka
    • markdown
    • back-end-maven
    • python
    • io
    • front-end-ts
    • typescript
    • tools
    • hot-key
    • vscode
    • windows
    Tag
    TimeLine

    在VSCode中默认使用settings.json中定义的TypeScript版本

    vuePress-theme-reco Clear Love    2020 - 2022

    在VSCode中默认使用settings.json中定义的TypeScript版本

    Clear Love 5/23/2021 vscode

    当VSCode打开typescript文件,使用node_modules里面的TypeScript版本,而不是VSCode的版本

    快捷键 Ctrl+, 打开settings.json,添加如下设置

    "typescript.tsdk": "node_modules/typescript/lib",
    
    1

    然后打开右下角typescript版本,选择Use Workspace Version

    Last Updated: 12/26/2022, 11:54:10 AM