Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "components/mixins/route-fetch"

Index

Interfaces

Type aliases

Functions

Type aliases

Result

Result: object

Type declaration

  • [key: string]: any

Functions

default

  • default<R, P>(fetchAsyncFunction: function, nullObj: R | function, before?: boolean, after?: undefined | function): RouteFetchMixin
  • Type parameters

    Parameters

    • fetchAsyncFunction: function
        • (params: P): Promise<R | null>
        • Parameters

          • params: P

          Returns Promise<R | null>

    • nullObj: R | function
    • Default value before: boolean = true
    • Optional after: undefined | function

    Returns RouteFetchMixin

get

  • get<R>(from: R | function): R

Generated using TypeDoc