- instance<AI, AO, I, O>(ctor, $args, toArgs): $.Shape<I, O>
Type Parameters
- AI extends readonly unknown[]
- AO extends readonly unknown[]
- I
- O
Parameters
- ctor: (new (...args: AO) => O)
- new (...args): O
Returns O
- $args: $.Shape<AI, AO>
- toArgs: ((value: I) => [...AI[]])
- (value): [...AI[]]
Returns [...AI[]]