type NewProperties = {
base_inner: BaseModule;
}
this.rootNode = new Laya.Sprite();
(this.rootNode as Laya.Sprite & NewProperties )["base_inner"]= this;
type ExtendedProperties<T> = { [P in keyof T]: T[P] };
function moreProperty<T>(s:Laya.Sprite): Laya.Sprite & ExtendedProperties<T> {
return s as Laya.Sprite & ExtendedProperties<T>;
}
let moreP = moreProperty<ExtendedProperties<{base_inner:any}>>(this.rootNode);
moreP.base_inner_module = this;