To import and use the fs module in TypeScript, make sure to install the type definitions for node by running npm i -D @types/node and import ...
確定! 回上一頁