creator 2.1.0

creator typescript module
b.ts文件内容module a {
export class BB {
}
}

a.ts文件内容module a {
export class AA extends a.BB {
}
}

提示 TypeError: Object prototype may only be an Object or null: undefined
看了生成的js.就是在a.js中用到a.BB的地方报错的

改成
export module a

然后引入
import * as xxx from ‘xxx’;

这个可用!
xxx.a.BB