mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 13:30:28 +00:00
Return typed definition from toJSON method (#8859)
* Return typed definition from toJSON method * Test toJSON returns IMyResource
This commit is contained in:
committed by
Masahiro Wakame
parent
22d18908f7
commit
e684481e0c
Vendored
+1
-3
@@ -153,9 +153,7 @@ declare namespace angular.resource {
|
||||
/** the promise of the original server interaction that created this instance. **/
|
||||
$promise : angular.IPromise<T>;
|
||||
$resolved : boolean;
|
||||
toJSON: () => {
|
||||
[index: string]: any;
|
||||
}
|
||||
toJSON(): T;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user