Explorar el Código

Remove @webgpu/types from tsconfig.json

Popov72 hace 5 años
padre
commit
a65472757b
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      src/Engines/webgpuEngine.ts
  2. 1 1
      src/tsconfig.json

+ 1 - 0
src/Engines/webgpuEngine.ts

@@ -23,6 +23,7 @@ import { WebGPUShaderProcessor } from "./WebGPU/webgpuShaderProcessors";
 import { ShaderProcessingContext } from "./Processors/shaderProcessingOptions";
 import { WebGPUShaderProcessingContext } from "./WebGPU/webgpuShaderProcessingContext";
 import { Tools } from "../Misc/tools";
+import "@webgpu/types";
 
 /**
  * Options to load the associated Glslang library

+ 1 - 1
src/tsconfig.json

@@ -1,7 +1,7 @@
 {
     "extends": "../tsconfigRules",
     "compilerOptions": {
-        "types": ["@webgpu/types"],
+        "types": [],
         "baseUrl": "./",
         "rootDir": "./"
     }