mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Indexing the IDocumentService should return Document (#10237)
JQ(lite)-unwrapping $document[0] should be of type Document instead of the default HTMLElement. Otherwise important methods like getElementById are missing.
This commit is contained in:
committed by
Mohamed Hegazy
parent
5ad563cfc0
commit
66876a46ec
Vendored
+3
-1
@@ -985,7 +985,9 @@ declare namespace angular {
|
||||
// DocumentService
|
||||
// see http://docs.angularjs.org/api/ng.$document
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
interface IDocumentService extends JQuery {}
|
||||
interface IDocumentService extends JQuery {
|
||||
[index: number]: Document;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// ExceptionHandlerService
|
||||
|
||||
Reference in New Issue
Block a user