の解決方法
「tsconfig.json」に次の項目を追加する。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| { "compilerOptions": { "module": "commonjs", "noImplicitReturns": true, "noUnusedLocals": true, "outDir": "lib", "sourceMap": true, "strict": true, "target": "es2017", "esModuleInterop": true, }, "compileOnSave": true, "include": [ "src" ] }
|