Introduction
Migration
Configuration
Fundamentals
Advanced
Authentication & Security
API & Documentation
ORM
Orchestration & Workflow
Testing
Third-parties
Links
Premium ConfigSource
Premium TestContainers
Appearance
import { constant } from "@tsed/di";
See /packages/di/src/types/common/fn/constant.ts.
function constant<Type>(expression: string): Type | undefined; export function constant<Type>(expression: string, defaultValue: Type | undefined): Type;