Skip to main content

Class: TsRestModule

@ts-rest/nest.TsRestModule

Hierarchy

  • ConfigurableModuleClass

    TsRestModule

Constructors

constructor

new TsRestModule()

Inherited from

ConfigurableModuleClass.constructor

Defined in

node_modules/.pnpm/@nestjs+common@10.3.10_reflect-metadata@0.1.13_rxjs@7.8.1/node_modules/@nestjs/common/module-utils/interfaces/configurable-module-cls.interface.d.ts:12

Properties

register

Static register: (options: TsRestOptions & Partial<{ isGlobal: boolean = false }>) => DynamicModule

Type declaration

▸ (options): DynamicModule

Parameters
NameType
optionsTsRestOptions & Partial<{ isGlobal: boolean = false }>
Returns

DynamicModule

Inherited from

ConfigurableModuleClass.register


registerAsync

Static registerAsync: (options: ConfigurableModuleAsyncOptions<TsRestOptions, "create"> & Partial<{ isGlobal: boolean = false }>) => DynamicModule

Type declaration

▸ (options): DynamicModule

Parameters
NameType
optionsConfigurableModuleAsyncOptions<TsRestOptions, "create"> & Partial<{ isGlobal: boolean = false }>
Returns

DynamicModule

Inherited from

ConfigurableModuleClass.registerAsync