Skip to content
New issue

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

Issue remains: Type regression between v0.31.2 and v0.41.1 #439

Open
erichkuba opened this issue Dec 10, 2024 · 0 comments
Open

Issue remains: Type regression between v0.31.2 and v0.41.1 #439

erichkuba opened this issue Dec 10, 2024 · 0 comments

Comments

@erichkuba
Copy link

erichkuba commented Dec 10, 2024

I'm sorry to be the bearer of bad news, but I just tried to upgrade to 0.41.1, and the original problem remains. This is the output that is throwing:

error TS2769: No overload matches this call. Overload 1 of 2, '(password: string | Buffer<ArrayBufferLike>, options: Options & { raw: true; }): Promise<Buffer<ArrayBufferLike>>', gave the following error. Object literal may only specify known properties, and 'saltLength' does not exist in type 'Options & { raw: true; }'. Overload 2 of 2, '(password: string | Buffer<ArrayBufferLike>, options?: Options & { raw?: boolean; }): Promise<string>', gave the following error. Object literal may only specify known properties, and 'saltLength' does not exist in type 'Options & { raw?: boolean; }'.

Originally posted by @erichkuba in #403 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant