[Bug report]: ts declaration broken
AkaraChen opened this issue · comments
package.json
config is broken when come with typescript@5
compilerOptions.moduleResolution === "bundler"
Could not find a declaration file for module '@turf/turf'. 'frontend/node_modules/.pnpm/@turf+turf@6.5.0/node_modules/@turf/turf/dist/es/index.js' implicitly has an 'any' type.
There are types at 'frontend/node_modules/@turf/turf/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@turf/turf' library may need to update its package.json or typings.ts(7016)
Can be easily fixed by adding:
I'm having this problem with the same version.
I'm having this problem with the same version.
already fixed in v7 alpha, waiting it release in stable version