Skip to content

Commit 09494be

Browse files
committed
Update declaration files for ts.matchFiles (microsoft#13793)
1 parent 453f669 commit 09494be

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2704,6 +2704,11 @@ declare namespace ts {
27042704
}
27052705
declare namespace ts {
27062706
function isExternalModuleNameRelative(moduleName: string): boolean;
2707+
interface FileSystemEntries {
2708+
readonly files: ReadonlyArray<string>;
2709+
readonly directories: ReadonlyArray<string>;
2710+
}
2711+
function matchFiles(path: string, extensions: ReadonlyArray<string>, excludes: ReadonlyArray<string>, includes: ReadonlyArray<string>, useCaseSensitiveFileNames: boolean, currentDirectory: string, depth: number | undefined, getFileSystemEntries: (path: string) => FileSystemEntries): string[];
27072712
}
27082713
declare function setTimeout(handler: (...args: any[]) => void, timeout: number): any;
27092714
declare function clearTimeout(handle: any): void;

tests/baselines/reference/api/typescript.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2704,6 +2704,11 @@ declare namespace ts {
27042704
}
27052705
declare namespace ts {
27062706
function isExternalModuleNameRelative(moduleName: string): boolean;
2707+
interface FileSystemEntries {
2708+
readonly files: ReadonlyArray<string>;
2709+
readonly directories: ReadonlyArray<string>;
2710+
}
2711+
function matchFiles(path: string, extensions: ReadonlyArray<string>, excludes: ReadonlyArray<string>, includes: ReadonlyArray<string>, useCaseSensitiveFileNames: boolean, currentDirectory: string, depth: number | undefined, getFileSystemEntries: (path: string) => FileSystemEntries): string[];
27072712
}
27082713
declare function setTimeout(handler: (...args: any[]) => void, timeout: number): any;
27092714
declare function clearTimeout(handle: any): void;

0 commit comments

Comments
 (0)