mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-22 11:40:10 +08:00
12 lines
300 B
TypeScript
12 lines
300 B
TypeScript
/// <reference path="git-config-async.d.ts" />
|
|
|
|
import gitConfig = require('git-config');
|
|
|
|
gitConfig(function(err: any, config: Object) {
|
|
console.log(JSON.stringify(config));
|
|
});
|
|
|
|
gitConfig('gitconfig', function(err: any, config: Object) {
|
|
console.log(JSON.stringify(config));
|
|
});
|