Options
All
  • Public
  • Public/Protected
  • All
Menu

Module mixin

Index

Type aliases

AnyConstructor

AnyConstructor<A>: (...input: any[]) => A

Any constructor function

Type parameters

  • A = object

Type declaration

    • (...input: any[]): A
    • Parameters

      • Rest ...input: any[]

      Returns A

AnyFunction

AnyFunction<A>: (...input: any[]) => A

Any function

Type parameters

  • A = any

Type declaration

    • (...input: any[]): A
    • Parameters

      • Rest ...input: any[]

      Returns A

Mixin

Mixin<T>: InstanceType<ReturnType<T>>

Mixin type helper

Type parameters

Mixin3

Mixin3: Mixin<typeof Mixin3>

The "instance type" of the Mixin3 using the regular type notation (does not work well for recursive type definition) Is not well supported by the TypeDoc

Functions

Const Mixin1Func

  • Mixin1Func<T>(base: T): { prototype: any } & T
  • The "mixin function" of the Mixin1

    Type parameters

    Parameters

    • base: T

    Returns { prototype: any } & T

Const Mixin2

  • Mixin2<T>(base: T): { prototype: any } & T

Const Mixin3

  • Mixin3<T>(base: T): { prototype: any } & T
  • The "mixin function" of the Mixin3

    Type parameters

    Parameters

    • base: T

    Returns { prototype: any } & T

Generated using TypeDoc