Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jan 31, 2025
1 parent 69d91fc commit 860e557
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2447,7 +2447,8 @@ declare var GPUComputePipeline: {
new (): never;
};

interface GPUDeviceEventMap {
/** @internal */
interface __GPUDeviceEventMap {
uncapturederror: GPUUncapturedErrorEvent;
}

Expand Down Expand Up @@ -2637,12 +2638,12 @@ interface GPUDevice
| null;

addEventListener<
K extends keyof GPUDeviceEventMap
K extends keyof __GPUDeviceEventMap
>(
type: K,
listener: (
this: GPUDevice,
ev: GPUDeviceEventMap[K]
ev: __GPUDeviceEventMap[K]
) => any,
options?:
| boolean
Expand All @@ -2656,12 +2657,12 @@ interface GPUDevice
| AddEventListenerOptions
): void;
removeEventListener<
K extends keyof GPUDeviceEventMap
K extends keyof __GPUDeviceEventMap
>(
type: K,
listener: (
this: GPUDevice,
ev: GPUDeviceEventMap[K]
ev: __GPUDeviceEventMap[K]
) => any,
options?:
| boolean
Expand Down

0 comments on commit 860e557

Please sign in to comment.