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