我想这取决于您将在哪里运行代码。 如果您的运行时目标是服务器端Node JS,请使用: let timeout: NodeJS.Timeout; global.clearTimeout(timeout);.
確定! 回上一頁