process.features.typescript


稳定性: 1.1 - 积极开发

¥Stability: 1.1 - Active development

默认情况下,值为 "strip",如果 Node.js 使用 --experimental-transform-types 运行,则为 "transform",如果 Node.js 使用 --no-experimental-strip-types 运行,则为 false

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