@@ -17,11 +17,9 @@ function _abstract() {
1717 */
1818export class DomAdapter {
1919 hasProperty ( element , name : string ) : boolean { throw _abstract ( ) ; }
20- setProperty ( el : /*(#2770) Element*/ any , name : string , value : any ) { throw _abstract ( ) ; }
21- getProperty ( el : /*(#2770) Element*/ any , name : string ) : any { throw _abstract ( ) ; }
22- invoke ( el : /*(#2770) Element*/ any , methodName : string , args : List < any > ) : any {
23- throw _abstract ( ) ;
24- }
20+ setProperty ( el : Element , name : string , value : any ) { throw _abstract ( ) ; }
21+ getProperty ( el : Element , name : string ) : any { throw _abstract ( ) ; }
22+ invoke ( el : Element , methodName : string , args : List < any > ) : any { throw _abstract ( ) ; }
2523
2624 logError ( error ) { throw _abstract ( ) ; }
2725
@@ -47,16 +45,16 @@ export class DomAdapter {
4745 nodeValue ( node ) : string { throw _abstract ( ) ; }
4846 type ( node ) : string { throw _abstract ( ) ; }
4947 content ( node ) : any { throw _abstract ( ) ; }
50- firstChild ( el ) : /*(#2770) Node*/ any { throw _abstract ( ) ; }
51- nextSibling ( el ) : /*(#2770) Node*/ any { throw _abstract ( ) ; }
52- parentElement ( el ) : /*(#2770) Node*/ any { throw _abstract ( ) ; }
53- childNodes ( el ) : List < /*(#2770) Node*/ any > { throw _abstract ( ) ; }
54- childNodesAsList ( el ) : List < /*(#2770) Node*/ any > { throw _abstract ( ) ; }
48+ firstChild ( el ) : Node { throw _abstract ( ) ; }
49+ nextSibling ( el ) : Node { throw _abstract ( ) ; }
50+ parentElement ( el ) : Node { throw _abstract ( ) ; }
51+ childNodes ( el ) : List < Node > { throw _abstract ( ) ; }
52+ childNodesAsList ( el ) : List < Node > { throw _abstract ( ) ; }
5553 clearNodes ( el ) { throw _abstract ( ) ; }
5654 appendChild ( el , node ) { throw _abstract ( ) ; }
5755 removeChild ( el , node ) { throw _abstract ( ) ; }
5856 replaceChild ( el , newNode , oldNode ) { throw _abstract ( ) ; }
59- remove ( el ) : /*(#2770) Node*/ any { throw _abstract ( ) ; }
57+ remove ( el ) : Node { throw _abstract ( ) ; }
6058 insertBefore ( el , node ) { throw _abstract ( ) ; }
6159 insertAllBefore ( el , nodes ) { throw _abstract ( ) ; }
6260 insertAfter ( el , node ) { throw _abstract ( ) ; }
@@ -67,26 +65,20 @@ export class DomAdapter {
6765 setValue ( el , value : string ) { throw _abstract ( ) ; }
6866 getChecked ( el ) : boolean { throw _abstract ( ) ; }
6967 setChecked ( el , value : boolean ) { throw _abstract ( ) ; }
70- createTemplate ( html ) : /*(#2770) HTMLElement*/ any { throw _abstract ( ) ; }
71- createElement ( tagName , doc = null ) : /*(#2770) HTMLElement*/ any { throw _abstract ( ) ; }
72- createTextNode ( text : string , doc = null ) : /*(#2770) Text*/ any { throw _abstract ( ) ; }
73- createScriptTag ( attrName : string , attrValue : string , doc = null ) : /*(#2770) HTMLElement*/ any {
74- throw _abstract ( ) ;
75- }
76- createStyleElement ( css : string , doc = null ) : /*(#2770) HTMLStyleElement*/ any {
68+ createTemplate ( html ) : HTMLElement { throw _abstract ( ) ; }
69+ createElement ( tagName , doc = null ) : HTMLElement { throw _abstract ( ) ; }
70+ createTextNode ( text : string , doc = null ) : Text { throw _abstract ( ) ; }
71+ createScriptTag ( attrName : string , attrValue : string , doc = null ) : HTMLElement {
7772 throw _abstract ( ) ;
7873 }
74+ createStyleElement ( css : string , doc = null ) : HTMLStyleElement { throw _abstract ( ) ; }
7975 createShadowRoot ( el ) : any { throw _abstract ( ) ; }
8076 getShadowRoot ( el ) : any { throw _abstract ( ) ; }
8177 getHost ( el ) : any { throw _abstract ( ) ; }
82- getDistributedNodes ( el ) : List < /*(#2770) Node*/ any > { throw _abstract ( ) ; }
83- clone ( node : /*(#2770) Node*/ any ) : /*(#2770) Node*/ any { throw _abstract ( ) ; }
84- getElementsByClassName ( element , name : string ) : List < /*(#2770) HTMLElement*/ any > {
85- throw _abstract ( ) ;
86- }
87- getElementsByTagName ( element , name : string ) : List < /*(#2770) HTMLElement*/ any > {
88- throw _abstract ( ) ;
89- }
78+ getDistributedNodes ( el ) : List < Node > { throw _abstract ( ) ; }
79+ clone ( node : Node ) : Node { throw _abstract ( ) ; }
80+ getElementsByClassName ( element , name : string ) : List < HTMLElement > { throw _abstract ( ) ; }
81+ getElementsByTagName ( element , name : string ) : List < HTMLElement > { throw _abstract ( ) ; }
9082 classList ( element ) : List < any > { throw _abstract ( ) ; }
9183 addClass ( element , classname : string ) { throw _abstract ( ) ; }
9284 removeClass ( element , classname : string ) { throw _abstract ( ) ; }
@@ -101,8 +93,8 @@ export class DomAdapter {
10193 setAttribute ( element , name : string , value : string ) { throw _abstract ( ) ; }
10294 removeAttribute ( element , attribute : string ) { throw _abstract ( ) ; }
10395 templateAwareRoot ( el ) { throw _abstract ( ) ; }
104- createHtmlDocument ( ) : /*(#2770) HTMLDocument*/ any { throw _abstract ( ) ; }
105- defaultDoc ( ) : /*(#2770) HTMLDocument*/ any { throw _abstract ( ) ; }
96+ createHtmlDocument ( ) : HTMLDocument { throw _abstract ( ) ; }
97+ defaultDoc ( ) : HTMLDocument { throw _abstract ( ) ; }
10698 getBoundingClientRect ( el ) { throw _abstract ( ) ; }
10799 getTitle ( ) : string { throw _abstract ( ) ; }
108100 setTitle ( newTitle : string ) { throw _abstract ( ) ; }
@@ -125,8 +117,8 @@ export class DomAdapter {
125117 supportsDOMEvents ( ) : boolean { throw _abstract ( ) ; }
126118 supportsNativeShadowDOM ( ) : boolean { throw _abstract ( ) ; }
127119 getGlobalEventTarget ( target : string ) : any { throw _abstract ( ) ; }
128- getHistory ( ) : /*(#2770) History*/ any { throw _abstract ( ) ; }
129- getLocation ( ) : /*(#2770) Location*/ any { throw _abstract ( ) ; }
120+ getHistory ( ) : History { throw _abstract ( ) ; }
121+ getLocation ( ) : Location { throw _abstract ( ) ; }
130122 getBaseHref ( ) : string { throw _abstract ( ) ; }
131123 getUserAgent ( ) : string { throw _abstract ( ) ; }
132124 setData ( element , name : string , value : string ) { throw _abstract ( ) ; }
0 commit comments