UNPKG

@vitruvius-labs/ts-predicate

Version:
4 lines (3 loc) 249 B
import type { AbstractConstructorOf } from "../helper/definition/type/abstract-constructor-of.mjs"; declare function assertConstructor<Type extends AbstractConstructorOf<object>>(value: unknown): asserts value is Type; export { assertConstructor };