📅  最后修改于: 2022-03-11 15:01:08.697000             🧑  作者: Mango
// Angular:
npm install @types/node --save-dev
// in tsconfig.app.js
"compilerOptions": {
...
"typeRoots": [ "../node_modules/@types" ],
"types": ["node"]
...
}