Commit 2294d26
fix(e2e): type the getContext override so next build passes (#293)
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>1 parent b2ab9cb commit 2294d26
1 file changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
21 | 31 | | |
22 | 32 | | |
23 | 33 | | |
| |||
0 commit comments