Skip to content

USING_INVALID_CLASS_AS_A_MODULE_MESSAGE

reference
1 min readUpdated

Kind: Function

Source: packages/core/errors/messages.ts

Part of: Core

Signature

ts
function USING_INVALID_CLASS_AS_A_MODULE_MESSAGE(metatypeUsedAsAModule: Type | ForwardReference, scope: any[], classKind: 'provider' | 'controller' | 'filter')

Parameters

NameType
metatypeUsedAsAModule`Type
scopeany[]
classKind`'provider'

Was this page helpful?

Download as PDF
USING_INVALID_CLASS_AS_A_MODULE_MESSAGE — NestJS head-to-head