fix(vendor): widen include's writeTask for exactOptionalPropertyTypes

The debounced writer assigns undefined on flush, which a plain optional
NodeJS.Timeout rejects under exactOptionalPropertyTypes; the error had
been masked by stale build state until a residue cleanup invalidated it.
Logged as local modification 14 in the vendor manifest.
This commit is contained in:
Yichen Jiang
2026-08-08 13:16:27 +08:00
parent 0d53752c49
commit 2b6836a6fe
2 changed files with 2 additions and 1 deletions

View File

@@ -170,7 +170,7 @@ export class Include extends EntryTree {
private readonly: boolean
private content?: string
private data?: EntryOptions[]
private writeTask?: NodeJS.Timeout
private writeTask?: NodeJS.Timeout | undefined
private applyQueue: Promise<unknown> = Promise.resolve()
constructor(ctx: Context, public config: Include.Config) {