SSR component types are not resolving
samepant opened this issue · comments
When I attempt to use the dist/ssr
icons, i see this error:
Could not find a declaration file for module '@phosphor-icons/react/dist/ssr'. 'node_modules/@phosphor-icons/react/dist/ssr/index.mjs' implicitly has an 'any' type.
There are types at '/node_modules/@phosphor-icons/react/dist/ssr/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@phosphor-icons/react' library may need to update its package.json or typings.ts(7016)
After some brief searching i found this thread and this tool which illustrates only the dist/ssr
package error.
thanks!