Introduction
Migration
Configuration
Fundamentals
Advanced
Authentication & Security
API & Documentation
ORM
Orchestration & Workflow
Testing
Third-parties
Links
Premium ConfigSource
Premium TestContainers
Appearance
import { ValueOf } from "@tsed/core/src/types/ValueOf";
See /packages/core/src/types/ValueOf.ts.
type ValueOf<T> = T[keyof T];
Type utilitaire qui produit l'union de toutes les valeurs d'un type objet T.
T
type T = {a: 1; b: 2}; type V = ValueOf<T>; // 1 | 2