You don't really have to explicitly type the extension, just require('./x') without the '.ts' and node will pick it up then.
確定! 回上一頁