Options
All
  • Public
  • Public/Protected
  • All
Menu

Class File<I, E>

Type parameters

Hierarchy

Index

Constructors

constructor

  • new File(__namedParameters: object): File
  • Parameters

    • __namedParameters: object
      • config: object
        • fileNames: string[]
      • extension: string
      • options: CompilerOptions
      • path: string | Path

    Returns File

Properties

Protected extension

extension: string

Protected options

options: ICompilerOptions

Protected root

root: Path

source

source: Path

Accessors

destination

  • get destination(): Path

isMapped

  • get isMapped(): Promise<boolean>

Methods

Abstract exports

  • exports(): AsyncIterableIterator<E>
  • Returns AsyncIterableIterator<E>

Abstract imports

  • imports(): AsyncIterableIterator<I>
  • Returns AsyncIterableIterator<I>

map

  • map(options: ICompilerOptions): AsyncIterableIterator<I | E>
  • Parameters

    • options: ICompilerOptions

    Returns AsyncIterableIterator<I | E>

toString

  • toString(): string

Abstract write

  • write(path?: PathLike | number, options?: object | string | null): Promise<void>
  • Parameters

    • Optional path: PathLike | number
    • Optional options: object | string | null

    Returns Promise<void>