Closed brunobasto closed 3 years ago
Hmm that's odd. Are you still running V1.3.3?
Yes. Just checked. It's still 1.3.3. For me, there's no types
folder inside dist
:
I noticed this yesterday because I'm migrating my little project to typescript (while it's still small 🤣 )
The types live inside of the cjs
and es
directories. Currently, the package.json
points to the nonexistent types
directory but this will be fixed very soon. In the meantime, you can change the "types"
field in Cura WASM's package.json to "types": "dist/es/index.d.ts",
.
Please update to version 1.4.2 - switched to named exports, separated definitions to separate package (cura-wasm-definitions
), and fixed the package.json issues. Apologies for the confusion and thanks for filing.
Awesome. Thank you
Hello! Me again :)
https://github.com/Cloud-CNC/cura-wasm/blob/master/package.json#L7
I couldn't find cura-wasm/dist/types inside my node_modules. VSCode gives me compilation errors.