UNPKG

rambdax

Version:

Extended version of Rambda - a lightweight, faster alternative to Ramda

12 lines (10 loc) 276 B
import {List} from '../List/List' /** * Alias to create/describe a `class` * @param P its constructor parameters * @param R the object it constructs * @returns `class` */ export type Class<P extends List = any[], R extends object = object> = { new (...args: P): R }