Type alias Hooks

Hooks: {
    afterRun?: (() => Promiseable<void>);
    beforeRun?: (() => Promiseable<void>);
}

Type declaration

  • Optional afterRun?: (() => Promiseable<void>)
      • (): Promiseable<void>
      • Runs after all scripts, useful for any clean up effect

        Returns Promiseable<void>

  • Optional beforeRun?: (() => Promiseable<void>)
      • (): Promiseable<void>
      • Runs before all scripts, useful for building steps

        Returns Promiseable<void>

Generated using TypeDoc