Update angular-resource.d.ts - #4721
#4721Update angular-resource.d.ts#4721ilgb wants to merge 1 commit into
Conversation
|
@diegovilar @miffels could you review this PR? |
|
@sandcastle Oh, I did not assume the change was backwards-compatible with the tests, so I expected the tests had to be changed, to. Turns out this addition actually is covered.
|
There was a problem hiding this comment.
um? is this right?
now typescript is support intersection types. microsoft/TypeScript#3622
I think we should use get(): T & IResource<T>;. isn't it?
|
Hello and thank you for your contribution! Due to an excessively long queue of pull requests that have become stale, we are "declaring bankruptcy" and closing all PRs opened before May 1, 2016. If you'd still like to merge this code in, please open a new PR that has been merged and rebased with the Going forward, we are committing to review or merge all PRs on a regular basis so this bankruptcy will not occur again. We apologize for the incovenience and hope you will continue to contribute to DefinitelyTyped in the future. Thanks |
Replace methods return type T by IResource in IResourceClass