UNPKG

@nestjs/common

Version:

Decorators, pipes, exceptions and utilities for NestJS applications: @Controller(), @Injectable(), @Body(), ValidationPipe, HttpException and more.

7 lines (6 loc) • 210 B
import { Abstract } from '../abstract.interface.js'; import { Type } from '../type.interface.js'; /** * @publicApi */ export type InjectionToken<T = any> = string | symbol | Type<T> | Abstract<T> | Function;