Skip to content

⬅️ Back to Table of Contents

📄 WatchCompilerHostOfConfigFile.ts

📊 Analysis Summary

Metric Count
📐 Interfaces 3

📚 Table of Contents

🛠️ File Location:

📂 packages/typescript-estree/src/create-program/WatchCompilerHostOfConfigFile.ts

Interfaces

DirectoryStructureHost

Interface Code
interface DirectoryStructureHost {
  readDirectory?(
    path: string,
    extensions?: readonly string[],
    exclude?: readonly string[],
    include?: readonly string[],
    depth?: number,
  ): string[];
}

CachedDirectoryStructureHost

Interface Code
interface CachedDirectoryStructureHost extends DirectoryStructureHost {
  readDirectory(
    path: string,
    extensions?: readonly string[],
    exclude?: readonly string[],
    include?: readonly string[],
    depth?: number,
  ): string[];
}

WatchCompilerHostOfConfigFile<T extends ts.BuilderProgram>

Interface Code
export interface WatchCompilerHostOfConfigFile<T extends ts.BuilderProgram>
  extends ts.WatchCompilerHostOfConfigFile<T> {
  extraFileExtensions?: readonly ts.FileExtensionInfo[];
  onCachedDirectoryStructureHostCreate(
    host: CachedDirectoryStructureHost,
  ): void;
}

Properties

Name Type Optional Description
extraFileExtensions readonly ts.FileExtensionInfo[]