process.features.typescript


稳定性: 1.1 - 积极开发

¥Stability: 1.1 - Active development

如果 Node.js 使用 --experimental-strip-types 运行,则值为 "strip";如果 Node.js 使用 --experimental-transform-types 运行,则值为 "transform";否则为 false

¥A value that is "strip" if Node.js is run with --experimental-strip-types, "transform" if Node.js is run with --experimental-transform-types, and false otherwise.