Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippe Elsass committed Jan 14, 2021
1 parent 92b97e7 commit bbf5bd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DiagnosticFilterer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { standardizePath as s } from './util';
export class DiagnosticFilterer {
private byFile: Record<string, BsDiagnostic[]>;
private filePaths: string[];
private filters: Array<{ src?: string; codes?: number[] }>;
private filters: Array<{ src?: string; codes?: (number|string)[] }>;
private rootDir: string;

/**
Expand Down Expand Up @@ -74,7 +74,7 @@ export class DiagnosticFilterer {
}
}

private filterAllFiles(filter: { src?: string; codes?: number[] }) {
private filterAllFiles(filter: { src?: string; codes?: (number|string)[] }) {
let matchedFilePaths: string[];

//if there's a src, match against all files
Expand Down

0 comments on commit bbf5bd7

Please sign in to comment.