Skip to content
  • 解决ts-node执行ts文件时的报错问题:
    • 报错:Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    • 解决:npm install -D tslib @types/node