mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [conventional-commits-parser] Added type definitions for conventional-commits-parser * [git-raw-commits] Added type definitions for git-raw-commits * [conventional-commits-parser] Updated conventionalCommitsParser.Commit * [conventional-changelog-writer] Added type definitions for conventional-changelog-writer * [conventional-changelog-writer] Updated conventionalChangelogWriter.Options.Sort * [conventional-commits-parser] Removed spaces * [conventional-changelog-writer] Fixed typing * [conventional-changelog-writer] Updated generics * [conventional-changelog-writer] Updated names of interfaces and types * [conventional-commits-parser] Updated tests * [conventional-changelog-core] Added type definitions * [conventional-changelog-preset-loader] Added type definitions * [conventional-recommended-bump] Added type definitions * [conventional-changelog-core] Relocated `// $ExpectType`; altered the name of the namespace * [conventional-changelog-preset-loader] Altered the name of the namespace * [conventional-commits-parser] Altered the name of the namespace * [conventional-recommended-bump] Altered the name of the namespace * [conventional-changelog-core] Removed the extra `// $ExpectType`
19 lines
375 B
TypeScript
19 lines
375 B
TypeScript
"use strict";
|
|
|
|
import gitRawCommits from "git-raw-commits";
|
|
|
|
declare const execOptions: gitRawCommits.ExecOptions;
|
|
declare const gitOptions: gitRawCommits.GitOptions;
|
|
|
|
// $ExpectType Readable
|
|
gitRawCommits(gitOptions);
|
|
|
|
// $ExpectType Readable
|
|
gitRawCommits(gitOptions, execOptions);
|
|
|
|
// $ExpectError
|
|
gitRawCommits();
|
|
|
|
// $ExpectError
|
|
gitRawCommits(execOptions, gitOptions);
|