If you're looking to read a text file in TypeScript, here's the short version: import * as fs from 'fs'; fs.readFileSync('/path-to-file', ...
確定! 回上一頁