lume / kiwi

Fast TypeScript implementation of the Cassowary constraint solving algorithm (soon for AssemblyScript / WebAssembly).
https://codepen.io/trusktr/pen/abMLVxa
Other
149 stars 8 forks source link

Missing types #4

Closed EHadoux closed 10 months ago

EHadoux commented 10 months ago

Hey, it looks like the new version doesn't ship the types.

Could not find a declaration file for module '@lume/kiwi'. '...../node_modules/@lume/kiwi/dist/kiwi.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/lume__kiwi` if it exists or add a new declaration (.d.ts) file containing `declare module '@lume/kiwi';`
"main": "dist/kiwi.js",
"types": "dist/kiwi.d.ts",

image

trusktr commented 10 months ago

Whoops, thanks! I noticed this too just now testing dependent packages. Fixed in 3eb49a110783641e6a22bd75a6293585e846a91f (forgot to update the files array), released in 0.4.1.