Skip to content

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

Open
@erichkuba

Description

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)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions