Skip to content

fix(e2e): type the getContext override so next build passes - #293

Merged
sktbrd merged 1 commit into
r4topunk:mainfrom
sktbrd:fix/webgl-spec-types
Aug 23, 2026
Merged

fix(e2e): type the getContext override so next build passes#293
sktbrd merged 1 commit into
r4topunk:mainfrom
sktbrd:fix/webgl-spec-types

Conversation

@sktbrd

@sktbrd sktbrd commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Post-merge gate on #282 caught this: the webgl-fallback spec's getContext interceptor fails tsc --noEmit (generic function vs the DOM lib's per-id overloads) — and since next build type-checks, the production deploy of the merged batch would fail. One-file typing fix; runtime behavior identical.

Test plan

  • tsc --noEmit clean on merged main + this fix
  • eslint/prettier clean

Generated with Claude Code

@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

@sktbrd is attempting to deploy a commit to the r4to's projects Team on Vercel.

A member of the Team first needs to authorize it.

The webgl-fallback spec's interceptor assigned a generic function over
the DOM lib's per-id getContext overloads — tsc (and therefore next
build) rejected it, which would have failed the production deploy of
the very PR it guards. Assign through the original's own type; runtime
passthrough unchanged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@sktbrd
sktbrd force-pushed the fix/webgl-spec-types branch from c551e71 to 95908c0 Compare August 23, 2026 14:55
@sktbrd
sktbrd merged commit 2294d26 into r4topunk:main Aug 23, 2026
1 of 3 checks passed
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