类型系统基础
类型系统高阶
模块组织史与工程
前端平台类型
工程化与综合
31-tsconfig-build-pipeline
31-tsconfig-build-pipeline/04-rootdir-sourcemap/src/main.ts
typescript · 0.2 KB
运行:31 · rootdir-sourcemap
点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。
console
export function run(log: (msg: string) => void = console.log): string[] { const lines = ['ok']; for (const line of lines) { log(line); } return lines; }
该文件由构建期采集,未做任何改写;源码页不进入搜索引擎索引。