DEV Community

loading...

Discussion on: Migrate to Typescript on Node.js

Collapse
llldar profile image
Nathaniel Author

You can find and replace your const module = require("module") with import module = require("module"), which also works with typescript.
Also there is a vs-code plugin to help you:
marketplace.visualstudio.com/items...

Collapse
karataev profile image