Home > @skunkteam/types > TypeImpl
The Type with the given type implementation.
Signature:
type TypeImpl<Impl extends BaseTypeImpl<any, any>> = Impl & {
new (input: unknown): TypeOf<Impl>;
(this: void, input: unknown): TypeOf<Impl>;
};
References: BaseTypeImpl, TypeOf
Adds both constructor and regular function to the signature to make sure TypeScript will emit the type as decorator metadata.