Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
steam0r committed Jan 21, 2025
1 parent 52f5814 commit bc3902a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/**/*"]
}
Expand Down
1 change: 1 addition & 0 deletions shared/types/dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare var vec3: String;
17 changes: 17 additions & 0 deletions shared/types/package.json
Original file line number Diff line number Diff line change
@@ -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/**/*"
]
}

0 comments on commit bc3902a

Please sign in to comment.