1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import ts from 'typescript';
|
9 | import { FileSystem } from './types';
|
10 | declare module 'typescript' {
|
11 | interface FileSystemEntries {
|
12 | readonly files: readonly string[];
|
13 | readonly directories: readonly string[];
|
14 | }
|
15 | const matchFiles: undefined | ((path: string, extensions: readonly string[] | undefined, excludes: readonly string[] | undefined, includes: readonly string[] | undefined, useCaseSensitiveFileNames: boolean, currentDirectory: string, depth: number | undefined, getFileSystemEntries: (path: string) => FileSystemEntries, realpath: (path: string) => string, directoryExists: (path: string) => boolean) => string[]);
|
16 | }
|
17 | /**
|
18 | * Creates a {@link ts.CompilerHost#readDirectory} implementation function,
|
19 | * that leverages the specified file system (that may be e.g. virtual).
|
20 | */
|
21 | export declare function createFileSystemTsReadDirectoryFn(fs: FileSystem): NonNullable<ts.CompilerHost['readDirectory']>;
|
22 |
|
\ | No newline at end of file |