UNPKG

ts-convict

Version:

Model style decorators for your convict config.

5 lines (4 loc) 294 B
import { SchemaObj } from "convict"; import { ConfigOptions } from "./interfaces"; export declare function Config<T>(opts?: ConfigOptions): (constructor: new () => T) => void; export declare function Property(schemaObj: SchemaObj | (new () => {})): (target: any, propertyName: string) => void;