mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
10 lines
237 B
TypeScript
10 lines
237 B
TypeScript
/// <reference path="git-config.d.ts" />
|
|
|
|
import gitConfig = require('git-config');
|
|
|
|
var config: Object = gitConfig.sync();
|
|
console.log(JSON.stringify(config));
|
|
|
|
config = gitConfig.sync('gitconfig');
|
|
console.log(JSON.stringify(config));
|