smartjson/dist/index.d.ts

17 lines
389 B
TypeScript
Raw Permalink Normal View History

2017-02-27 13:05:03 +00:00
import 'typings-global';
export declare class Foldable {
saveableProperties: string[];
/**
* folds a class into an object
*/
foldToObject(): {};
/**
* enfolds data from an object
*/
enfoldFromObject(objectArg: any): void;
}
/**
* Decorator that marks a property as foldable
*/
export declare let foldDec: () => (target: any, key: string) => void;