npm-opa-wasm
npm-opa-wasm copied to clipboard
It appears that `opa.d.ts` is missing
Type are referenced in the package.json however they are not include in the build. This was working previous at version 1.4.0
So this is the error when using with Typescript
Could not find a declaration file for module '@open-policy-agent/opa-wasm'. '..../node_modules/@open-policy-agent/opa-wasm/src/index.mjs' implicitly has an 'any' type.
There are types at '.../node_modules/@open-policy-agent/opa-wasm/dist/types/opa.d.ts', but this result could not be resolved when respecting package.json "exports". The '@open-policy-agent/opa-wasm' library may need to update its package.json or typings.ts(7016)
Requested resolution is to include the types again
Thanks for the report. Would you happen to have an idea how to fix it? 😅