GreenTea124

Results 2 issues of GreenTea124

**Describe the bug** When you do this: ```ts import {Server} from "socket.io"; const io = new Server({ cors: { origin: "*" } }); //... io.engine.handleUpgrade(req, socket, head); ``` Code works...

bug

ts-node is able to convert `tsconfig` into SWC config: https://github.com/TypeStrong/ts-node/blob/main/src/transpilers/swc.ts Perhaps, this functionality could be exported, or extracted into a separate NPM package. It is something that would be useful...