toStringConstructor
@tsed/core
Usage
typescript
import { toStringConstructor } from "@tsed/core";Overview
ts
function toStringConstructor(target: any): string;- target (
any): Instance or constructor.
Description
Returns the textual signature of a class/instance constructor.
Example output: constructor(id: string, name?: string). Useful for debugging and documentation generation.