瀏覽代碼

Remove @webgpu/types from tsconfig.json

Popov72 5 年之前
父節點
當前提交
a65472757b
共有 2 個文件被更改,包括 2 次插入1 次删除
  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": "./"
     }