Translate expressApp.ts to a node friendly require

后端 未结 0 2049
日久生厌
日久生厌 2021-02-08 06:08

I want to change translate "import" to a node friendly require in following code.

Example: import * as express from \'express\'; to const exp

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