示例工程 31-tsconfig-build-pipeline
31-tsconfig-build-pipeline/01-config-matrix/dist-es2015/main.js
点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。
export function read(box) {
var _a;
return (_a = box === null || box === void 0 ? void 0 : box.value) !== null && _a !== void 0 ? _a : 0;
}
export function run(log = console.log) {
const lines = [String(read({ value: 2 })), String(read(null))];
for (const line of lines) {
log(line);
}
return lines;
}
//# sourceMappingURL=main.js.map