External module "plugin"

Index
Type aliases

OptionsMap

OptionsMap: object

An Object whose keys are strings corresponding to your options names without the leading “–” and whose values are either type constructors such as String or Boolean or ValueInitializers

Type declaration

ValueInitializer

ValueInitializer: function

A function that takes a textual option value and deserializes it

Type declaration
    • (value: string): any
    • Parameters
      • value: string
      Returns any
Functions

template

  • template(strings: TemplateStringsArray, ...values: Array<string>): string
  • A utility template literal tag for writing templates that corrects indentation and prevents null and undefined values from showing.

    Unlike templatel this doesn’t remove entire lines that contain null or undefined expressions.

    Parameters
    • strings: TemplateStringsArray
    • Rest ...values: Array<string>
    Returns string

templatel

  • templatel(strings: TemplateStringsArray, ...values: any[]): string
  • A utility template literal tag for writing string templates that corrects indentation and removes lines where at least one interpolation expression is null or undefined.

    Parameters
    • strings: TemplateStringsArray
    • Rest ...values: any[]
    Returns string