We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, i'm getting issues when i use a package that uses usehooks-ts as a dependency.
type='module'
I'm wondering if i need to have any settings? i thought usehooks-ts was a esm module now? @juliencrn
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Hi @ShravanSunder, thanks for reporting issue
Yes, current usehooks-ts should be ESM (as well as in the eth-hooks package, it should work. And yes, it's related with #97 which we are working on.
usehooks-ts
eth-hooks
usehooks-ts@^2.7.2
Still getting this error at 2.9.1
My tsconfig.json
{ "compilerOptions": { "strict": true, "module": "ES2020", "target": "ES2020", // Doesn't apply to server/, see ts-node config down below and server/tsconfig.json "moduleResolution": "Bundler", "lib": ["DOM", "DOM.Iterable", "ESNext"], "types": ["vite/client"], "jsx": "react-jsx", "skipLibCheck": true, "esModuleInterop": true }, "ts-node": { "transpileOnly": true, "esm": true, "compilerOptions": { "module": "Node16", "moduleResolution": "Node16" } } }
No branches or pull requests
Hi, i'm getting issues when i use a package that uses usehooks-ts as a dependency.
type='module'
I'm wondering if i need to have any settings? i thought usehooks-ts was a esm module now? @juliencrn
The text was updated successfully, but these errors were encountered: