Merge pull request #26046 from mjomble/patch-1

nodegit: fixed Signature instance variable types
This commit is contained in:
Daniel Rosenwasser
2018-05-26 20:25:38 -07:00
committed by GitHub
2 changed files with 8 additions and 3 deletions

View File

@@ -51,3 +51,8 @@ const blameOptions = new Git.BlameOptions();
Git.Branch.lookup(repo, "branch_name", Git.Branch.BRANCH.LOCAL).then((reference) => {
// Use reference
});
const signature = Git.Signature.now("name", "email");
signature.name();
signature.email();
signature.when();

View File

@@ -11,7 +11,7 @@ export class Signature {
free(): void;
toString(): string;
name: string;
email: string;
when: Time;
name(): string;
email(): string;
when(): Time;
}