Skip to content

optionalRequire

reference
1 min readUpdated

Kind: Function

Source: packages/core/helpers/optional-require.ts

Part of: Core

Signature

ts
function optionalRequire(packageName: string, loaderFn: Function)

Parameters

NameType
packageNamestring
loaderFnFunction

Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (1)

  • NestMicroservicepackages/microservices/nest-microservice.ts:35

Was this page helpful?

Download as PDF
optionalRequire — NestJS head-to-head