vulcain-corejs
Version:
Vulcain micro-service framework
11 lines (10 loc) • 570 B
TypeScript
import { IDynamicProperty } from '../dynamicProperty';
import { DynamicProperties } from './dynamicProperties';
import { PropertiesFactory as IPropertiesFactory } from '../propertiesFactory';
export declare class PropertiesFactory implements IPropertiesFactory {
private _properties;
constructor(_properties: DynamicProperties);
private add(name, prop);
asProperty<T>(value: T, name?: string, dontCheck?: boolean): IDynamicProperty<T>;
asChainedProperty<T>(defaultValue: T, name: string, fallbackPropertyNames: Array<string>): IDynamicProperty<T>;
}