Padloc Logo Docs & Resources

Module: config

Classes

Type Aliases

ConfigConstructor

Ƭ ConfigConstructor: (...args: any[]) => Config

Type declaration

• (...args)

Generic type representing the constructor of a class extending Config

Parameters
Name Type
...args any[]

Defined in

core/src/config.ts:6

Functions

ConfigParam

ConfigParam(type?, secret?): (proto: Config, prop: string) => void

Parameters

Name Type Default value
type "string" | "number" | "boolean" | "string[]" | ConfigConstructor "string"
secret boolean false

Returns

fn

▸ (proto, prop): void

Parameters
Name Type
proto Config
prop string
Returns

void

Defined in

core/src/config.ts:14