Skip to content

Commit

Permalink
Fix missing ignore type in config
Browse files Browse the repository at this point in the history
From the docs I understand that this should be there. I assume it uses the same type as the `files` property, one or more globs.
  • Loading branch information
byCedric committed Dec 8, 2019
1 parent 71dba0e commit 35d7a6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ declare module 'replace-in-file' {

export interface ReplaceInFileConfig {
files: string | string[];
ignore: string | string[];
from: string | RegExp | string[] | RegExp[] | FromCallback;
to: string | string[] | ToCallback;
countMatches?: boolean;
Expand Down

0 comments on commit 35d7a6a

Please sign in to comment.