20 lines
765 B
JavaScript
20 lines
765 B
JavaScript
System.register([], function (_export, _context) {
|
|
"use strict";
|
|
|
|
return {
|
|
setters: [],
|
|
execute: function () {
|
|
// This module is auto-generated to report error emitted when try to load module file:///Users/vance/NewProject_2/assets/typescript/NewComponent.ts at runtime.
|
|
throw new Error(`SyntaxError: /file:/Users/vance/NewProject_2/assets/typescript/NewComponent.ts: Leading decorators must be attached to a class declaration. (7:0)
|
|
|
|
5 | let request = new XMLHttpRequest();
|
|
6 | @ccclass('NewComponent')
|
|
> 7 | let bctype = null;
|
|
| ^
|
|
8 | export class NewComponent extends Component {
|
|
9 | username = null;
|
|
10 | @property(Prefab)`);
|
|
}
|
|
};
|
|
});
|
|
//# sourceMappingURL=e80994b84447ee52dd0110149ac66939cfa45b21.js.map
|