@cashfarm/lang
Version:
Extends TypeScript/Javascript with basic classes and functions
38 lines (37 loc) • 835 B
TypeScript
export interface ITargetMap {
target: Function;
properties: {
[key: string]: Function;
};
}
export interface ITransformationOptions {
strategy?: 'excludeAll' | 'exposeAll';
groups?: string[];
version?: number;
excludePrefixes?: string[];
ignoreDecorators?: boolean;
targetMaps?: ITargetMap[];
enableCircularCheck?: boolean;
}
export interface ITransformOptions {
since?: number;
until?: number;
groups?: string[];
}
export interface ITypeOptions {
newObject: any;
object: Object;
property: string;
}
export interface IExposeOptions {
name?: string;
since?: number;
until?: number;
groups?: string[];
toClassOnly?: boolean;
toPlainOnly?: boolean;
}
export interface IExcludeOptions {
toClassOnly?: boolean;
toPlainOnly?: boolean;
}