UNPKG

dash-core

Version:

A foundational toolkit of types, collections, services, and architectural patterns designed to accelerate application development.

8 lines (6 loc) 209 B
export interface Factory<TProduct> { create(): TProduct | Promise<TProduct>; } export interface PayloadedFactory<TProduct, TPayload> { create(params: TPayload): TProduct | Promise<TProduct>; }