diff options
author | Dean Srebnik <49134864+load1n9@users.noreply.github.com> | 2024-01-24 10:47:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 21:17:28 +0530 |
commit | 6b5c9764ac8087d035ef6a3f2542bd089957035e (patch) | |
tree | 4e8510c18effb55ac15c2577ac8bcfdf5a3c10f2 /cli/tests/unit/webgpu_test.ts | |
parent | a5a973e93c19b95b604adf9862dfafaf4becee04 (diff) |
chore: fix `Deno.UnsafeWindowSurface` typings (#22081)
- changed `Deno.UnsafeWindowSurface` typings from accepting
`Deno.UnsafePointerView` to `Deno.PointerValue`
- added width and height to `GPUCanvasConfiguration`
Diffstat (limited to 'cli/tests/unit/webgpu_test.ts')
-rw-r--r-- | cli/tests/unit/webgpu_test.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/tests/unit/webgpu_test.ts b/cli/tests/unit/webgpu_test.ts index fcbb34be5..bcdc6b1ff 100644 --- a/cli/tests/unit/webgpu_test.ts +++ b/cli/tests/unit/webgpu_test.ts @@ -238,7 +238,6 @@ Deno.test({ assertThrows( () => { - // @ts-expect-error: runtime test for null handle new Deno.UnsafeWindowSurface("cocoa", null, null); }, ); |