Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

FileWriter: (content: string, fileType: FileType, fileExtension: FileExtension) => void

Type declaration

Functions

  • Create a directory if it doesn't exist, or remove the content if it does.

    Parameters

    • path: string

      The path to the directory.

    Returns FileWriter

    • A function that writes the content to a file in that directory.
  • Read the run template file.

    Parameters

    • fileExtension: FileExtension

      The file extension of the template file.

    Returns string

    The content of the template file.

  • readTemplateTestFile(fileExtension: FileExtension, minifyContent?: Boolean): Promise<string>
  • Read the template file and minimize if needed.

    async

    Parameters

    • fileExtension: FileExtension

      The file extension of the template file.

    • minifyContent: Boolean = true

    Returns Promise<string>

    • The content of the template file.

Generated using TypeDoc