D
D
Dvorak2016-11-17 01:15:57
Node.js
Dvorak, 2016-11-17 01:15:57

What is the correct way to compile TypeScript into node.js?

Hello. I write in TypeScript in Visual Studio Code. When you try to compile, it swears at the require call, and in the studio itself it is underlined in red. How to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
artekha, 2016-11-17
@artekha

As far as I know in typescript es6 standard, try to use import

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question