PromisePolyfill

Helper class that provides a small promise polyfill

Hierarchy

  • PromisePolyfill

Index

Methods

Methods

Static Apply

  • Apply(force?: boolean): void
  • Static function used to check if the polyfill is required If this is the case then the function will inject the polyfill to window.Promise

    Parameters

    • Optional force: boolean

      defines a boolean used to force the injection (mostly for testing purposes)

    Returns void

Generated using TypeDoc