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
There is a typescript error when importing this package : import { IRR } from "@formulajs/formulajs";
error message : TS7016: Could not find a declaration file for module @formulajs/formulajs. /xxxx/node_modules/@formulajs/formulajs/lib/esm/index.mjs implicitly has an any type. There are types at /xxxx/node_modules/@formulajs/formulajs/types/index.d.ts , but this result could not be resolved when respecting package.json exports. The @formulajs/formulajs library may need to update its package.json or typings.
My tsconfig.json has the parameter moduleResolution set to bundler.
You can check with this tool
This happened with a lot of packages and according to this thread , the solution is a fix from the library author
The text was updated successfully, but these errors were encountered:
There is a typescript error when importing this package :
import { IRR } from "@formulajs/formulajs";
error message :
TS7016: Could not find a declaration file for module @formulajs/formulajs. /xxxx/node_modules/@formulajs/formulajs/lib/esm/index.mjs implicitly has an any type. There are types at /xxxx/node_modules/@formulajs/formulajs/types/index.d.ts , but this result could not be resolved when respecting package.json exports. The @formulajs/formulajs library may need to update its package.json or typings.
My tsconfig.json has the parameter moduleResolution set to
bundler
.You can check with this tool
This happened with a lot of packages and according to this thread , the solution is a fix from the library author
The text was updated successfully, but these errors were encountered: