Skip to main content

Interface: Loader

@kosko/env.Loader

Methods#

component#

component(name: string): any

Returns component variables. If the returned value is an array, the value will be flattened.

Parameters:#

NameTypeDescription
namestringComponent name

Returns: any

Defined in: packages/env/src/environment/types.ts:80


global#

global(): any

Returns global variables. If the returned value is an array, the value will be flattened.

Returns: any

Defined in: packages/env/src/environment/types.ts:72