NodeJS - TypeScript How to import and instantiate SocketIO using ES modules correctly

后端 未结 0 1962
暗喜
暗喜 2021-02-07 13:31

Before I use import in nodejs this is how I use the socketio and it works perfectly.

module.exports = function(app, server) {
  const io         


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