Skip to content

Commit

Permalink
feat(types): create Config
Browse files Browse the repository at this point in the history
  • Loading branch information
shian15810 committed Nov 9, 2021
1 parent a58cdce commit a8833d6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions index.d.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,19 @@ declare namespace depcheck {
detectors?: ReadonlyArray<Detector>;
specials?: ReadonlyArray<Parser>;
}

interface Config {
ignoreBinPackage?: Options['ignoreBinPackage'];
skipMissing?: Options['skipMissing'];
json?: boolean;
ignores?: Options['ignoreMatches'];
ignoreDirs?: Options['ignoreDirs'];
ignorePath?: Options['ignorePath'];
ignorePatterns?: Options['ignorePatterns']
parsers?: { [match: string]: (keyof typeof parser) | ReadonlyArray<keyof typeof parser> };
detectors?: ReadonlyArray<keyof typeof detector>;
specials?: ReadonlyArray<keyof typeof special>;
}

interface Results {
dependencies: string[];
Expand Down

0 comments on commit a8833d6

Please sign in to comment.