You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I make these changes, I suddenly start getting missing type errors on dexie-export-import:
> tsc && vite build
src/components/PreferencesModal.tsx:106:41 - error TS7016: Could not find a declaration file for module 'dexie-export-import'. '/Users/humphd/repos/chatcraft.org/node_modules/.pnpm/dexie-export-import@4.1.0_dexie@3.2.4/node_modules/dexie-export-import/dist/dexie-export-import.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/dexie-export-import` if it exists or add a new declaration (.d.ts) file containing `declare module 'dexie-export-import';`
106 const { exportDB } = await import("dexie-export-import");
~~~~~~~~~~~~~~~~~~~~~
src/components/PreferencesModal.tsx:125:18 - error TS7016: Could not find a declaration file for module 'dexie-export-import'. '/Users/humphd/repos/chatcraft.org/node_modules/.pnpm/dexie-export-import@4.1.0_dexie@3.2.4/node_modules/dexie-export-import/dist/dexie-export-import.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/dexie-export-import` if it exists or add a new declaration (.d.ts) file containing `declare module 'dexie-export-import';`
125 import("dexie-export-import")
~~~~~~~~~~~~~~~~~~~~~
Found 2 errors in the same file, starting at: src/components/PreferencesModal.tsx:106
I haven't had these in the past. I looked at the code in dist/dexie-export-import/dist and there is no .d.ts file. The package.json says:
"typings": "dist/dexie-export-import.d.ts",
But it doesn't exist.
The text was updated successfully, but these errors were encountered:
I am trying to upgrade a project:
dexie-export-import
: from4.0.7
to4.1.0
typescript
: from5.2.2
to5.3.3
vite
: from5.0.12
to5.1.0
When I make these changes, I suddenly start getting missing type errors on
dexie-export-import
:I haven't had these in the past. I looked at the code in
dist/dexie-export-import/dist
and there is no.d.ts
file. Thepackage.json
says:But it doesn't exist.
The text was updated successfully, but these errors were encountered: