Skip to content

Commit 4cd0fe4

Browse files
author
Erik Rasmussen
committed
fix: add types field to package.json
TypeScript types are generated and published to dist/index.d.ts but package.json has "types": null, preventing TypeScript from finding them. Fixes #47
1 parent 64fa5d4 commit 4cd0fe4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,6 @@
101101
"path": "dist/final-form-calculate.cjs.js",
102102
"threshold": "1.2kB"
103103
}
104-
]
104+
],
105+
"types": "dist/index.d.ts"
105106
}

0 commit comments

Comments
 (0)