Files
DefinitelyTyped/types/git-username/git-username-tests.ts
T

6 lines
207 B
TypeScript

import username = require('git-username');
username('some/path'); // $ExpectType string | null
username({ cwd: 'some/path' }); // $ExpectType string | null
username({ strict: true }); // $ExpectType string