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 {
|
||||
name: string;
|
||||
properties: {[key: string]: string};
|
||||
properties: {[key: string]: any};
|
||||
attributes: {[key: string]: string};
|
||||
childNodes: DebugNode[];
|
||||
nativeElement: any;
|
||||
|
|
|
@ -175,7 +175,7 @@ const CORE = [
|
|||
'DebugElement.insertChildrenAfter(child:DebugNode, newChildren:DebugNode[]):any',
|
||||
'DebugElement.name:string',
|
||||
'DebugElement.nativeElement:any',
|
||||
'DebugElement.properties:{[key:string]:string}',
|
||||
'DebugElement.properties:{[key:string]:any}',
|
||||
'DebugElement.query(predicate:Predicate<DebugElement>):DebugElement',
|
||||
'DebugElement.queryAll(predicate:Predicate<DebugElement>):DebugElement[]',
|
||||
'DebugElement.queryAllNodes(predicate:Predicate<DebugNode>):DebugNode[]',
|
||||
|
|
Loading…
Reference in New Issue