Skip to content

"sshKeyMemoryNew" is not found in Typescript #1962

@nakky

Description

@nakky

Probably because namespace "Cred" has changed, "sshKeyMemoryNew" is not found in Typescript.

"sshKeyNew" can be used although the following warning is issued.

Use NodeGit.Credential.sshKeyNew instead of NodeGit.Cred.sshKeyNew

I think it will probably be solved by updating the definition of Typescript.
(It worked when I directly modified the output js file)
The definition may not have been updated because it is alpha, but it is necessary for check, so please support it.

System information

  • node version: v16.3.0
  • npm or yarn version: yarn 1.22.18
  • OS/version/architecture: darwin 21.4.0 arm64
  • Applicable nodegit version: 0.28.0-alpha.20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions