How to declare global variable with typescript check in JS file

后端 未结 0 556
生来不讨喜
生来不讨喜 2020-12-03 14:10

I\'m using TypeScript to do type checking of JS files (https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html), by adding a // @ts-check

相关标签:
回答
  • 消灭零回复
提交回复
热议问题