Skip to content

Commit

Permalink
Merge 3dac12a into 6e1980b
Browse files Browse the repository at this point in the history
  • Loading branch information
mpodlasin committed Jan 7, 2017
2 parents 6e1980b + 3dac12a commit 72679fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions serializr.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export function setDefaultModelSchema<T>(clazz: Clazz<T>, modelschema: ModelSche
export function serialize<T>(modelschema: ClazzOrModelSchema<T>, instance: T): any;
export function serialize<T>(instance: T): any;

export function deserialize<T>(modelschema: ClazzOrModelSchema<T>, jsonArray: any[], callback?: (err: any, result: T) => void, customArgs?: any): T[];
export function deserialize<T>(modelschema: ClazzOrModelSchema<T>, json: any, callback?: (err: any, result: T) => void, customArgs?: any): T;

export function update<T>(modelschema: ClazzOrModelSchema<T>, instance:T, json: any, callback?: (err: any, result: T) => void, customArgs?: any): void;
Expand Down

0 comments on commit 72679fa

Please sign in to comment.