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
import hashprint from 'hashprintjs';
Observe TypeScript error.
If the index.d.ts file read like this:
export default function GenerateHashprint(opts: Opts): Promise<string>;
…everything would work.
The text was updated successfully, but these errors were encountered:
Added default function export.
931b449
Fixes #1
Thanks! Should be working now :]
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Repro:
import hashprint from 'hashprintjs';
in a brand new Next.JS project.Observe TypeScript error.
If the index.d.ts file read like this:
…everything would work.
The text was updated successfully, but these errors were encountered: