skillhub/web/test/node-fs.d.ts
千乘妍 (Xiaoyaner) 427acf21bb feat(web): load optional analytics after application mount
Move the passive helper and Umami adapter into one product source, retain the existing assertions, and add consent-aware lazy lifecycle control.

Refs #989

Signed-off-by: 千乘妍 (Xiaoyaner) <258399167+xiaoyaner0201@users.noreply.github.com>
2026-10-29 23:16:05 +08:00

5 lines
250 B
TypeScript

// Minimal test-harness surface; production code never imports Node APIs.
// The project intentionally does not depend on the full Node type package.
declare module 'node:fs' {
export function readFileSync(path: string, encoding: 'utf8'): string
}