UNPKG

vulcain-corejs

Version:
25 lines (24 loc) 492 B
/// <reference types="rx/rx.time-lite.d" /> import * as rx from 'rx'; export interface IDynamicProperty<T> { /** * Subscribe on property changed */ propertyChanged: rx.Observable<any>; /** * Get the current value */ value: T; /** * Set the local property value. The value is not persisted */ set(value: T): any; /** * Property name */ name: string; /** * Reset to its default value */ reset(): void; }