type-r2
Version:
Serializable, validated, and observable data layer for modern JS applications
9 lines (8 loc) • 447 B
TypeScript
import { InferAttrs, Record, RecordConstructor } from './record';
export * from './attrDef';
export * from './metatypes';
export { AttributesMixin, InferAttrs, RecordConstructor } from './record';
export { Record };
export declare function attributes<D extends object>(attrDefs: D): RecordConstructor<InferAttrs<D>>;
export declare function auto(value: any): PropertyDecorator;
export declare function auto(proto: object, attrName: string): void;