此时你可能会想到改成TypeScript 的import 写法: import * as path from ... 这个是针对没有默认导出的模块的一种兼容,fs 模块是commonjs,并没有 ...
確定! 回上一頁