Skip to content

Commit 860e557

Browse files
committed
address comments
1 parent 69d91fc commit 860e557

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

dist/index.d.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2447,7 +2447,8 @@ declare var GPUComputePipeline: {
24472447
new (): never;
24482448
};
24492449

2450-
interface GPUDeviceEventMap {
2450+
/** @internal */
2451+
interface __GPUDeviceEventMap {
24512452
uncapturederror: GPUUncapturedErrorEvent;
24522453
}
24532454

@@ -2637,12 +2638,12 @@ interface GPUDevice
26372638
| null;
26382639

26392640
addEventListener<
2640-
K extends keyof GPUDeviceEventMap
2641+
K extends keyof __GPUDeviceEventMap
26412642
>(
26422643
type: K,
26432644
listener: (
26442645
this: GPUDevice,
2645-
ev: GPUDeviceEventMap[K]
2646+
ev: __GPUDeviceEventMap[K]
26462647
) => any,
26472648
options?:
26482649
| boolean
@@ -2656,12 +2657,12 @@ interface GPUDevice
26562657
| AddEventListenerOptions
26572658
): void;
26582659
removeEventListener<
2659-
K extends keyof GPUDeviceEventMap
2660+
K extends keyof __GPUDeviceEventMap
26602661
>(
26612662
type: K,
26622663
listener: (
26632664
this: GPUDevice,
2664-
ev: GPUDeviceEventMap[K]
2665+
ev: __GPUDeviceEventMap[K]
26652666
) => any,
26662667
options?:
26672668
| boolean

0 commit comments

Comments
 (0)