Skip to content

@ralphschuler.mixin class factory

github-actions edited this page Nov 26, 2023 · 14 revisions

Module: @ralphschuler/mixin-class-factory

Table of contents

Modules

Functions

Functions

ConfigProperty

ConfigProperty(type, defaultValue): (target: any, propertyKey: any) => void

Parameters

Name Type
type string
defaultValue any

Returns

fn

▸ (target, propertyKey): void

Parameters
Name Type
target any
propertyKey any
Returns

void

Defined in

index.ts:6


InterfaceMethod

InterfaceMethod(): (target: any, propertyKey: any) => void

Returns

fn

▸ (target, propertyKey): void

Parameters
Name Type
target any
propertyKey any
Returns

void

Defined in

index.ts:16


createClass

createClass<T>(...mixins): Promise<(config: UnifiedConfig<T>) => any>

Type parameters

Name Type
T extends (config: any) => any[]

Parameters

Name Type
...mixins T

Returns

Promise<(config: UnifiedConfig<T>) => any>

Defined in

index.ts:57

Typescript Libraries

Modules

Namespaces

Clone this wiki locally