How do I migrate a Node code base to TypeScript without altering require statements?

后端 未结 0 419
隐瞒了意图╮
隐瞒了意图╮ 2020-11-27 23:23

Imagine I have two files:

// a.ts

const config = require(\'config\').init()
const b = require(\'./b\')
// b.ts

const config = requi         


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