Migrate from Flow to TS Error: TS8010: Type annotations can only be used in TypeScript files

前端 未结 0 2050
悲&欢浪女
悲&欢浪女 2020-12-07 22:29

I\'m migrating a legacy codebase to a new framework and I\'m trying to use TypeScript going forward.

The old codebase however used Flow for type checking.

The

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