diff --git a/jsconfig.json b/jsconfig.json index af8898b..75bbce1 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -2,7 +2,8 @@ "compilerOptions": { "module": "CommonJS", "target": "ES6", - "checkJs":true + "checkJs":true, + "typeRoots": ["./cables/node_modules/@webgpu/types", "./shared/types"] }, "include": ["shared/client/src/**/*","cables_ui/src/**/*","cables/src/core/**/*"] } diff --git a/shared/types/dist/index.d.ts b/shared/types/dist/index.d.ts new file mode 100644 index 0000000..8a1c997 --- /dev/null +++ b/shared/types/dist/index.d.ts @@ -0,0 +1 @@ +declare var vec3: String; \ No newline at end of file diff --git a/shared/types/package.json b/shared/types/package.json new file mode 100644 index 0000000..5a03e6e --- /dev/null +++ b/shared/types/package.json @@ -0,0 +1,17 @@ +{ + "name": "cables-shared-types", + "author": "undefined development", + "description": "shared client types between the different subprojects of cables_dev", + "version": "0.0.1", + "repository": { + "type": "git", + "url": "git+https://github.com/cables-gl/cables_dev.git" + }, + "main": "", + "types": "dist/index.d.ts", + "license": "MIT", + "files": [ + "dist/**/*" + ] + } + \ No newline at end of file