Skip to content

Commit

Permalink
Merge pull request #36 from sandersn/fix-type-of-filter
Browse files Browse the repository at this point in the history
Fix type of filter
  • Loading branch information
kaelzhang authored Apr 26, 2018
2 parents cc0395d + f7e5324 commit b1a0200
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ interface Ignore {
/**
* Filters the given array of pathnames, and returns the filtered array.
* NOTICE that each path here should be a relative path to the root of your repository.
* @param {string[]} paths the array of paths to be filtered.
* @returns IgnoreBase
* @param paths the array of paths to be filtered.
* @returns The filtered array of paths
*/
filter(paths: string[]): Ignore
filter(paths: string[]): string[]
/**
* Creates a filter function which could filter
* an array of paths with Array.prototype.filter.
Expand Down

0 comments on commit b1a0200

Please sign in to comment.