diff --git a/src/compiler/sys.ts b/src/compiler/sys.ts index 57dbd7044af..c2d4f449721 100644 --- a/src/compiler/sys.ts +++ b/src/compiler/sys.ts @@ -466,6 +466,7 @@ namespace ts { File, Directory } + function fileSystemEntryExists(path: string, entryKind: FileSystemEntryKind): boolean { try { const stat = _fs.statSync(path);