From 6b5c9764ac8087d035ef6a3f2542bd089957035e Mon Sep 17 00:00:00 2001 From: Dean Srebnik <49134864+load1n9@users.noreply.github.com> Date: Wed, 24 Jan 2024 10:47:28 -0500 Subject: chore: fix `Deno.UnsafeWindowSurface` typings (#22081) - changed `Deno.UnsafeWindowSurface` typings from accepting `Deno.UnsafePointerView` to `Deno.PointerValue` - added width and height to `GPUCanvasConfiguration` --- cli/tests/unit/webgpu_test.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'cli/tests') 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); }, ); -- cgit v1.2.3