mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
230 B
TypeScript
15 lines
230 B
TypeScript
import gitBranch = require('git-branch');
|
|
|
|
gitBranch()
|
|
.then((name) => {});
|
|
|
|
gitBranch('cwd')
|
|
.then((name) => {});
|
|
|
|
gitBranch.sync();
|
|
gitBranch.sync('cwd');
|
|
|
|
gitBranch((err, name) => {});
|
|
|
|
gitBranch('cwd', (err, name) => {});
|