Closed tommy-mitchell closed 1 year ago
I pinned the version of type-fest
. In v4.3.0, the build fails due to https://github.com/sindresorhus/type-fest/issues/674.
Resolved.
Could not read type file anymore. @tommy-mitchell @sindresorhus
"typescript": "^5.2.2"
@sindresorhus do we need a types
field in package.json
? Not really sure why NPM isn't resolving it.
@sindresorhus do we need a
types
field inpackage.json
? Not really sure why NPM isn't resolving it.
used in a project, the type could not be loaded @tommy-mitchell
This is a problem with your TSConfig, not this package. This package properly exports the types: https://github.com/sindresorhus/meow/blob/1d083266d4c4f3b37da22693cf22235ca7fe9fb5/package.json#L15
@sindresorhus thx!
Fixes #244.
Uses
rollup-plugin-dts
to bundle types and adds anothertsd
test for the bundled types.