mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
More types
This commit is contained in:
@@ -3,3 +3,7 @@ import * as Git from 'nodegit';
|
||||
Git.Repository.discover("startPath", 1, "ceilingDirs").then((string) => {
|
||||
// Use string
|
||||
});
|
||||
|
||||
Git.Repository.init("path", true).then((repository) => {
|
||||
// Use repository
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user