2.1.2 • Published 2 years ago

@types/get-changelog-lib v2.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/get-changelog-lib

Summary

This package contains type definitions for get-changelog-lib (https://github.com/Clement134/get-changelog/tree/master/packages/get-changelog-lib).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/get-changelog-lib.

index.d.ts

// Type definitions for get-changelog-lib 2.1
// Project: https://github.com/Clement134/get-changelog/tree/master/packages/get-changelog-lib
// Definitions by: Clement134 <https://github.com/Clement134>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

interface Configuration {
    /** mapping between custom repositories identifier and source path */
    customRepositories?: { [key: string]: string };
    /** explore files with txt extension */
    exploreTxtFiles?: boolean;
    /** explore additional branches (only master by default) */
    branches?: string[];
}
interface Cache {
    [key: string]: string;
}

declare class ChangelogFinder {
    constructor(configuration?: Configuration, cache?: Cache);
    /** get npm package changelog */
    getChangelog(moduleName: string, moduleVersion?: string): Promise<string>;
}

export = ChangelogFinder;

Additional Details

  • Last updated: Mon, 25 Oct 2021 18:01:23 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Clement134.

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

4 years ago