我有 Node-express 代码,其中使用 module.exports 导出模块。例如,导出一个函数,则写为 module.exports = functionName。现在代码将转换为打字稿。如何替换打字稿中的 module.exports ?
javascript node.js express typescript
express ×1
javascript ×1
node.js ×1
typescript ×1