Hello I have run recently into a issue where when i switched my module resolution in my tsconfig from node to node16 that the file for the module declaration was not found. This is the error below
Could not find a declaration file for module '@prismicio/client'. '/Users/xxxx/Desktop/xxx/xxx-xxx-/node_modules/@prismicio/client/dist/index.cjs' implicitly has an 'any' type. If the '@prismicio/client' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '@prismicio/client';
I am using the version 6.7.1 for prismicio/client same thing happense for the prismicio/types etc
This is how i import it
import * as prismic from '@prismicio/client';
And just a side note everything works perfectly fine the module resolution is set to just node instead of node16.