Skip to content

Commit 5e33265

Browse files
authored
fix: missing getTargetFile type (#206)
1 parent fc5af6d commit 5e33265

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ declare module 'replace-in-file' {
2121
ignore?: string | string[];
2222
from?: From | Array<From>;
2323
to?: To | Array<To>;
24+
getTargetFile?(source: string): string;
2425
countMatches?: boolean;
2526
allowEmptyPaths?: boolean;
2627
disableGlobs?: boolean;

0 commit comments

Comments
 (0)