Introduction
Migration
Configuration
Fundamentals
Advanced
Authentication & Security
API & Documentation
ORM
Orchestration & Workflow
Testing
Third-parties
Links
Premium ConfigSource
Premium TestContainers
Appearance
import { lazyRef } from "@tsed/schema";
See /packages/specs/schema/src/types/fn/lazyRef.ts.
function lazyRef(cb: () => Type<any>): any;
Declare a sub schema which will be resolved later. Use this function when you have a circular reference between two schemes.