mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 12:57:42 +08:00
Fix typescript 1.6 compile errors.
- Remove unknown properties in object literals. - Don't use module-level `delete` statements.
This commit is contained in:

committed by
Vladimir Enchev

parent
ccbd00dac8
commit
13deafec79
@ -101,8 +101,6 @@ export function getComponentModule(elementName: string, namespace: string, attri
|
||||
}
|
||||
|
||||
if (instance && instanceModule) {
|
||||
var bindings = new Array<bindable.BindingOptions>();
|
||||
|
||||
for (var attr in attributes) {
|
||||
|
||||
var attrValue = <string>attributes[attr];
|
||||
@ -136,7 +134,7 @@ export function getComponentModule(elementName: string, namespace: string, attri
|
||||
}
|
||||
}
|
||||
|
||||
componentModule = { component: instance, exports: instanceModule, bindings: bindings };
|
||||
componentModule = {component: instance, exports: instanceModule};
|
||||
}
|
||||
|
||||
return componentModule;
|
||||
|
Reference in New Issue
Block a user