math.gl
math.gl copied to clipboard
"types" field in package.json should point to a `.d.ts` file.
- "types": "src/index.ts",
+ "types": "dist/index.d.ts",
tsc will do type-checking on that file regardless of skipLibCheck if that's a pure .ts file (not a .d.ts file), which may result in compile errors.
(e.g., we set importsNotUsedAsValues to "error" in our project and tsc will complain about the .ts files inside node_modules/@math.gl/core)