Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "mixin"

Index

Functions

Functions

Const mixin

  • mixin(behaviour: any, sharedBehaviour?: any): _mixin
  • Additionally only injects/overwrites properties in target, which are NOT marked with @nomixin (i.e. haven't set their configurable property descriptor flag to false)

    Parameters

    • behaviour: any

      to mixin

    • Default value sharedBehaviour: any = {}

      -

    Returns _mixin

    decorator function

Generated using TypeDoc