Commit e2cc538
committed
Cast to ArrayBuffer in image-pipeline worker
Add explicit `as ArrayBuffer` type assertions in worker template functions to satisfy TypeScript typings. The changes are limited to templates/image-pipeline/worker/providers/types.ts and templates/image-pipeline/worker/routes/generate.ts and do not alter runtime behavior; they prevent type errors when accessing ArrayBuffer properties.1 parent 98a0ce5 commit e2cc538
File tree
2 files changed
+3
-3
lines changed- templates/image-pipeline/worker
- providers
- routes
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
0 commit comments