fix(core): fix type of `DebugNode.properties` (#8964)
Properties can have any value, not just strings.
This commit is contained in:
parent
6f281ab3c4
commit
ddd2ac4f55
|
@ -54,7 +54,7 @@ export class DebugNode {
|
||||||
*/
|
*/
|
||||||
export class DebugElement extends DebugNode {
|
export class DebugElement extends DebugNode {
|
||||||
name: string;
|
name: string;
|
||||||
properties: {[key: string]: string};
|
properties: {[key: string]: any};
|
||||||
attributes: {[key: string]: string};
|
attributes: {[key: string]: string};
|
||||||
childNodes: DebugNode[];
|
childNodes: DebugNode[];
|
||||||
nativeElement: any;
|
nativeElement: any;
|
||||||
|
|
|
@ -175,7 +175,7 @@ const CORE = [
|
||||||
'DebugElement.insertChildrenAfter(child:DebugNode, newChildren:DebugNode[]):any',
|
'DebugElement.insertChildrenAfter(child:DebugNode, newChildren:DebugNode[]):any',
|
||||||
'DebugElement.name:string',
|
'DebugElement.name:string',
|
||||||
'DebugElement.nativeElement:any',
|
'DebugElement.nativeElement:any',
|
||||||
'DebugElement.properties:{[key:string]:string}',
|
'DebugElement.properties:{[key:string]:any}',
|
||||||
'DebugElement.query(predicate:Predicate<DebugElement>):DebugElement',
|
'DebugElement.query(predicate:Predicate<DebugElement>):DebugElement',
|
||||||
'DebugElement.queryAll(predicate:Predicate<DebugElement>):DebugElement[]',
|
'DebugElement.queryAll(predicate:Predicate<DebugElement>):DebugElement[]',
|
||||||
'DebugElement.queryAllNodes(predicate:Predicate<DebugNode>):DebugNode[]',
|
'DebugElement.queryAllNodes(predicate:Predicate<DebugNode>):DebugNode[]',
|
||||||
|
|
Loading…
Reference in New Issue