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
API
6.1.4
No response
macOS (Apple Silicon)
node_modules/opensea-js/lib/api/types.d.ts:2:30 - error TS2307: Cannot find module 'src/orders/types' or its corresponding type declarations.
import { ProtocolData } from "src/orders/types";
If I change src/orders/types to ../orders/types, the error disappeared.
src/orders/types
../orders/types
The text was updated successfully, but these errors were encountered:
you should import from the package, like import { ProtocolData } from "opensea-js/orders/types";
import { ProtocolData } from "opensea-js/orders/types";
Sorry, something went wrong.
It's imported by node_modules/opensea-js/lib/api/types.d.ts:2:30, not my code.
node_modules/opensea-js/lib/api/types.d.ts:2:30
https://github.com/ProjectOpenSea/opensea-js/blob/main/src/api/types.ts#L2
ooh got it, thank you, will open a PR to fix
this should be fixed in v6.1.5 now! thanks again for reporting
Successfully merging a pull request may close this issue.
Component
API
Have you ensured that all of these are up to date?
What version of opensea-js are you on?
6.1.4
What function is the bug in?
No response
Operating System
macOS (Apple Silicon)
Describe the bug
node_modules/opensea-js/lib/api/types.d.ts:2:30 - error TS2307: Cannot find module 'src/orders/types' or its corresponding type declarations.
import { ProtocolData } from "src/orders/types";
If I change
src/orders/types
to../orders/types
, the error disappeared.The text was updated successfully, but these errors were encountered: