How to import node module in Typescript without type definitions?

前端 未结 4 1280
[愿得一人]
[愿得一人] 2021-02-20 12:16

When I try to import node.js module in Typescript like this:

import co = require(\'co\');
import co from \'co\';

without providing type definit

4条回答
提交回复
热议问题