@ -4,6 +4,9 @@
if (kv[xtype] != null) {
_global.console && console.error("shortcut:[" + xtype + "] has been registed");
}
if (cls) {
cls["xtype"] = xtype;
kv[xtype] = cls;
};
@ -48,6 +48,7 @@ type ClassConstructor<T extends {}> = T & {
new(config: any): T;
(config: any): T;
readonly prototype: T;
readonly xtype: string;
export interface BI extends _func, _i18n, _base, _inject {