process.features.typescript


稳定性: 1.2 - 发布候选

¥Stability: 1.2 - Release candidate

默认情况下,值为 "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.