示例工程 28-events-async-browser-types
28-events-async-browser-types/04-worker-storage/tsconfig.types.json
该示例需要 localStorage / IndexedDB / Service Worker,请用「新窗口打开」获得完整能力。
点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true,
"rootDir": ".",
"noUnusedLocals": false,
"noUnusedParameters": false
},
"include": ["src/**/*.ts", "types.test-d.ts"]
}