fix(core): fix type of `DebugNode.properties` (#8964)

Properties can have any value, not just strings.
This commit is contained in:
Tobias Bosch 2016-06-03 10:51:13 -07:00 committed by Miško Hevery
parent 6f281ab3c4
commit ddd2ac4f55
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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[]',