UNPKG

jarb-final-form

Version:
18 lines (17 loc) 413 B
export interface Config { constraintsUrl: string; needsAuthentication: boolean; } /** * Configures the Constraint libary. * * @param {Config} The new configuration */ export declare function configureConstraint(c: Config): void; /** * Either returns the a Config or throws an error when the * config is not yet initialized. * * @returns The Config */ export declare function getConfig(): Config;