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/tsc/dts/lib.deno_webgpu.d.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/tsc/dts/lib.deno_webgpu.d.ts') diff --git a/cli/tsc/dts/lib.deno_webgpu.d.ts b/cli/tsc/dts/lib.deno_webgpu.d.ts index 606c77634..50d9ecfb6 100644 --- a/cli/tsc/dts/lib.deno_webgpu.d.ts +++ b/cli/tsc/dts/lib.deno_webgpu.d.ts @@ -1325,6 +1325,8 @@ declare interface GPUCanvasConfiguration { viewFormats?: GPUTextureFormat[]; colorSpace?: "srgb" | "display-p3"; alphaMode?: GPUCanvasAlphaMode; + width: number; + height: number; } /** @category WebGPU */ declare interface GPUCanvasContext { -- cgit v1.2.3