Module

std/assert/mod.ts>GetConstructorType

The Deno Standard Library
Go to Latest
type alias GetConstructorType
import { type GetConstructorType } from "https://dotland.deno.dev/std@0.223.0/assert/mod.ts";

Gets constructor type

definition: T extends new (...args: any) => infer C ? C : never