sebavan преди 6 години
родител
ревизия
d2bc3d8009
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/LibDeclarations/webgpu.d.ts

+ 2 - 2
src/LibDeclarations/webgpu.d.ts

@@ -679,11 +679,11 @@ type GPUErrorFilter = "none"
   | "out-of-memory"
   | "validation";
 
-class GPUOutOfMemoryError {
+declare class GPUOutOfMemoryError {
   constructor();
 }
 
-class GPUValidationError {
+declare class GPUValidationError {
   constructor(message: string);
   readonly message: string;
 }