fix(angularjs): add toJSON method

This commit is contained in:
Long Yinan committed 2015-12-03 14:48:27 +08:00
1 parent 78d36dd49b
commit 0ab253f326
2 files changed
+8

No files matched your search

+3
View File
@@ -136,6 +136,9 @@ declare module angular.resource {
/** the promise of the original server interaction that created this instance. **/
$promise : angular.IPromise<T>;
$resolved : boolean;
toJSON: () => {
[index: string]: any;
}
}
/**