mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 05:20:24 +08:00
fixed any index
This commit is contained in:
@@ -44,7 +44,8 @@ function registerWebComponent(webComponentClass: Function, ...mixins: any[]): vo
|
||||
for (var i in webComponent) {
|
||||
// do not include polymer functions
|
||||
if (i != "async" && i != "job" && i != "fire" && i != "asyncFire" && i != "cancelUnbindAll") {
|
||||
flattenedComponent[i] = webComponent[i];
|
||||
var attribute: any = webComponent[i];
|
||||
flattenedComponent[i] = attribute;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user