Skip to content

chore(strict): P30 vendor-editor-contract ts-check + typedefs (DOM tsconfig)#31

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

chore(strict): P30 vendor-editor-contract ts-check + typedefs (DOM tsconfig)#31
lidge-jun merged 1 commit into
mainfrom
chore/strict-migration-p30

Conversation

@lidge-jun
Copy link
Copy Markdown
Owner

VERDICT-B per-file ts-check on web-ai/vendor-editor-contract.mjs (116 lines). All transitive deps already checked: chatgpt-composer (DOM, P29), copy-markdown (DOM), chatgpt-model (DOM, P28), chatgpt-attachments (P22). Goes into tsconfig.checkjs-dom.json.

Changes: // @ts-check, re-imported ComposerOptions/SubmitResult typedefs, VendorName/SemanticTarget/EditorContract/EditorAdapter/EditorAdapterBaseline typedefs, JSDoc on 3 exports.

No runtime change: only added // @ts-check and JSDoc comments. Control flow byte-identical.

Gates: tsc -p tsconfig.checkjs-dom.json OK, tsc -p tsconfig.checkjs.json OK, tsc --noEmit OK, check:strict-baseline OK.

…config)

Annotate web-ai/vendor-editor-contract.mjs (116 lines) with // @ts-check,
re-imported ComposerOptions/SubmitResult typedefs, and full JSDoc on 3
exports. All transitive deps already DOM-checked (chatgpt-composer P29,
chatgpt-model P28, copy-markdown, chatgpt-attachments P22).

No runtime change.

Unblocks contract-audit, action-intent, target-resolver, browser.mjs in
subsequent phases.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@lidge-jun lidge-jun merged commit fa21ede into main May 5, 2026
2 checks passed
@lidge-jun lidge-jun deleted the chore/strict-migration-p30 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