process.features.typescript


稳定性: 1.2 - 发布候选版

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