Skip to content

chore(strict-p26): annotate web-ai/tab-recovery.mjs#27

Merged
lidge-jun merged 1 commit into
mainfrom
chore/strict-migration-p26
May 5, 2026
Merged

chore(strict-p26): annotate web-ai/tab-recovery.mjs#27
lidge-jun merged 1 commit into
mainfrom
chore/strict-migration-p26

Conversation

@lidge-jun
Copy link
Copy Markdown
Owner

VERDICT-B per-file ts-check on tab-recovery.mjs (174 lines). All deps already checked.

  • // @ts-check + 4 typedefs
  • targetId typed as string|null to match WebAiSession
  • Inline casts where original derefed without null guard
  • No runtime change
  • tsconfig.checkjs.json append-only

Per-file // @ts-check + JSDoc on tab recovery module.
4 typedefs (RecoverDeps, RecoverResult, VerifyResult, ResolvedPage<T>).
Inline casts where original code assumed non-null on string|null fields.

No runtime change.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@lidge-jun lidge-jun merged commit 98a2e6c into main May 5, 2026
2 checks passed
@lidge-jun lidge-jun deleted the chore/strict-migration-p26 branch May 6, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant