File tree Expand file tree Collapse file tree 8 files changed +32
-32
lines changed Expand file tree Collapse file tree 8 files changed +32
-32
lines changed Original file line number Diff line number Diff line change @@ -97,19 +97,19 @@ declare module 'aurelia-framework' {
97
97
* Loads plugins, then resources, and then starts the Aurelia instance.
98
98
*
99
99
* @method start
100
- * @return {Aurelia } Returns the started Aurelia instance.
100
+ * @return {Promise< Aurelia> } Returns the started Aurelia instance.
101
101
*/
102
- start ( ) : any ;
102
+ start ( ) : Promise < Aurelia > ;
103
103
104
104
/**
105
105
* Instantiates the root view-model and view and add them to the DOM.
106
106
*
107
107
* @method withSingleton
108
108
* @param {Object } root The root view-model to load upon bootstrap.
109
109
* @param {string|Object } applicationHost The DOM object that Aurelia will attach to.
110
- * @return {Aurelia } Returns the current Aurelia instance.
110
+ * @return {Promise< Aurelia> } Returns the current Aurelia instance.
111
111
*/
112
- setRoot ( root ?: string , applicationHost ?: any ) : any ;
112
+ setRoot ( root ?: string , applicationHost ?: any ) : Promise < Aurelia > ;
113
113
}
114
114
115
115
/**
Original file line number Diff line number Diff line change @@ -97,19 +97,19 @@ declare module 'aurelia-framework' {
97
97
* Loads plugins, then resources, and then starts the Aurelia instance.
98
98
*
99
99
* @method start
100
- * @return {Aurelia } Returns the started Aurelia instance.
100
+ * @return {Promise< Aurelia> } Returns the started Aurelia instance.
101
101
*/
102
- start ( ) : any ;
102
+ start ( ) : Promise < Aurelia > ;
103
103
104
104
/**
105
105
* Instantiates the root view-model and view and add them to the DOM.
106
106
*
107
107
* @method withSingleton
108
108
* @param {Object } root The root view-model to load upon bootstrap.
109
109
* @param {string|Object } applicationHost The DOM object that Aurelia will attach to.
110
- * @return {Aurelia } Returns the current Aurelia instance.
110
+ * @return {Promise< Aurelia> } Returns the current Aurelia instance.
111
111
*/
112
- setRoot ( root ?: string , applicationHost ?: any ) : any ;
112
+ setRoot ( root ?: string , applicationHost ?: any ) : Promise < Aurelia > ;
113
113
}
114
114
115
115
/**
Original file line number Diff line number Diff line change @@ -97,19 +97,19 @@ declare module 'aurelia-framework' {
97
97
* Loads plugins, then resources, and then starts the Aurelia instance.
98
98
*
99
99
* @method start
100
- * @return {Aurelia } Returns the started Aurelia instance.
100
+ * @return {Promise< Aurelia> } Returns the started Aurelia instance.
101
101
*/
102
- start ( ) : any ;
102
+ start ( ) : Promise < Aurelia > ;
103
103
104
104
/**
105
105
* Instantiates the root view-model and view and add them to the DOM.
106
106
*
107
107
* @method withSingleton
108
108
* @param {Object } root The root view-model to load upon bootstrap.
109
109
* @param {string|Object } applicationHost The DOM object that Aurelia will attach to.
110
- * @return {Aurelia } Returns the current Aurelia instance.
110
+ * @return {Promise< Aurelia> } Returns the current Aurelia instance.
111
111
*/
112
- setRoot ( root ?: string , applicationHost ?: any ) : any ;
112
+ setRoot ( root ?: string , applicationHost ?: any ) : Promise < Aurelia > ;
113
113
}
114
114
115
115
/**
Original file line number Diff line number Diff line change @@ -239,9 +239,9 @@ export class Aurelia {
239
239
* Loads plugins, then resources, and then starts the Aurelia instance.
240
240
*
241
241
* @method start
242
- * @return {Aurelia } Returns the started Aurelia instance.
242
+ * @return {Promise< Aurelia> } Returns the started Aurelia instance.
243
243
*/
244
- start ( ) {
244
+ start ( ) : Promise < Aurelia > {
245
245
if ( this . started ) {
246
246
return Promise . resolve ( this ) ;
247
247
}
@@ -277,9 +277,9 @@ export class Aurelia {
277
277
* @method withSingleton
278
278
* @param {Object } root The root view-model to load upon bootstrap.
279
279
* @param {string|Object } applicationHost The DOM object that Aurelia will attach to.
280
- * @return {Aurelia } Returns the current Aurelia instance.
280
+ * @return {Promise< Aurelia> } Returns the current Aurelia instance.
281
281
*/
282
- setRoot ( root :string = 'app' , applicationHost = null ) {
282
+ setRoot ( root :string = 'app' , applicationHost = null ) : Promise < Aurelia > {
283
283
var compositionEngine, instruction = { } ;
284
284
285
285
applicationHost = applicationHost || this . host ;
Original file line number Diff line number Diff line change @@ -97,19 +97,19 @@ declare module 'aurelia-framework' {
97
97
* Loads plugins, then resources, and then starts the Aurelia instance.
98
98
*
99
99
* @method start
100
- * @return {Aurelia } Returns the started Aurelia instance.
100
+ * @return {Promise< Aurelia> } Returns the started Aurelia instance.
101
101
*/
102
- start ( ) : any ;
102
+ start ( ) : Promise < Aurelia > ;
103
103
104
104
/**
105
105
* Instantiates the root view-model and view and add them to the DOM.
106
106
*
107
107
* @method withSingleton
108
108
* @param {Object } root The root view-model to load upon bootstrap.
109
109
* @param {string|Object } applicationHost The DOM object that Aurelia will attach to.
110
- * @return {Aurelia } Returns the current Aurelia instance.
110
+ * @return {Promise< Aurelia> } Returns the current Aurelia instance.
111
111
*/
112
- setRoot ( root ?: string , applicationHost ?: any ) : any ;
112
+ setRoot ( root ?: string , applicationHost ?: any ) : Promise < Aurelia > ;
113
113
}
114
114
115
115
/**
Original file line number Diff line number Diff line change @@ -239,9 +239,9 @@ export class Aurelia {
239
239
* Loads plugins, then resources, and then starts the Aurelia instance.
240
240
*
241
241
* @method start
242
- * @return {Aurelia } Returns the started Aurelia instance.
242
+ * @return {Promise< Aurelia> } Returns the started Aurelia instance.
243
243
*/
244
- start ( ) {
244
+ start ( ) : Promise < Aurelia > {
245
245
if ( this . started ) {
246
246
return Promise . resolve ( this ) ;
247
247
}
@@ -277,9 +277,9 @@ export class Aurelia {
277
277
* @method withSingleton
278
278
* @param {Object } root The root view-model to load upon bootstrap.
279
279
* @param {string|Object } applicationHost The DOM object that Aurelia will attach to.
280
- * @return {Aurelia } Returns the current Aurelia instance.
280
+ * @return {Promise< Aurelia> } Returns the current Aurelia instance.
281
281
*/
282
- setRoot ( root :string = 'app' , applicationHost = null ) {
282
+ setRoot ( root :string = 'app' , applicationHost = null ) : Promise < Aurelia > {
283
283
var compositionEngine, instruction = { } ;
284
284
285
285
applicationHost = applicationHost || this . host ;
Original file line number Diff line number Diff line change @@ -97,19 +97,19 @@ declare module 'aurelia-framework' {
97
97
* Loads plugins, then resources, and then starts the Aurelia instance.
98
98
*
99
99
* @method start
100
- * @return {Aurelia } Returns the started Aurelia instance.
100
+ * @return {Promise< Aurelia> } Returns the started Aurelia instance.
101
101
*/
102
- start ( ) : any ;
102
+ start ( ) : Promise < Aurelia > ;
103
103
104
104
/**
105
105
* Instantiates the root view-model and view and add them to the DOM.
106
106
*
107
107
* @method withSingleton
108
108
* @param {Object } root The root view-model to load upon bootstrap.
109
109
* @param {string|Object } applicationHost The DOM object that Aurelia will attach to.
110
- * @return {Aurelia } Returns the current Aurelia instance.
110
+ * @return {Promise< Aurelia> } Returns the current Aurelia instance.
111
111
*/
112
- setRoot ( root ?: string , applicationHost ?: any ) : any ;
112
+ setRoot ( root ?: string , applicationHost ?: any ) : Promise < Aurelia > ;
113
113
}
114
114
115
115
/**
Original file line number Diff line number Diff line change @@ -170,9 +170,9 @@ export class Aurelia {
170
170
* Loads plugins, then resources, and then starts the Aurelia instance.
171
171
*
172
172
* @method start
173
- * @return {Aurelia } Returns the started Aurelia instance.
173
+ * @return {Promise< Aurelia> } Returns the started Aurelia instance.
174
174
*/
175
- start ( ) {
175
+ start ( ) : Promise < Aurelia > {
176
176
if ( this . started ) {
177
177
return Promise . resolve ( this ) ;
178
178
}
@@ -208,9 +208,9 @@ export class Aurelia {
208
208
* @method withSingleton
209
209
* @param {Object } root The root view-model to load upon bootstrap.
210
210
* @param {string|Object } applicationHost The DOM object that Aurelia will attach to.
211
- * @return {Aurelia } Returns the current Aurelia instance.
211
+ * @return {Promise< Aurelia> } Returns the current Aurelia instance.
212
212
*/
213
- setRoot ( root :string = 'app' , applicationHost = null ) {
213
+ setRoot ( root :string = 'app' , applicationHost = null ) : Promise < Aurelia > {
214
214
var compositionEngine, instruction = { } ;
215
215
216
216
applicationHost = applicationHost || this . host ;
You can’t perform that action at this time.
0 commit comments