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:
Volker Braun
2016-07-23 23:01:27 -07:00
committed by Mohamed Hegazy
parent 5ad563cfc0
commit 66876a46ec
+3 -1
View File
@@ -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