File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ class Renderer {
611
611
* A reference to the promise which initializes the renderer.
612
612
*
613
613
* @private
614
- * @type {?Promise }
614
+ * @type {?Promise<this> }
615
615
* @default null
616
616
*/
617
617
this . _initPromise = null ;
@@ -711,7 +711,7 @@ class Renderer {
711
711
* Initializes the renderer so it is ready for usage.
712
712
*
713
713
* @async
714
- * @return {Promise } A Promise that resolves when the renderer has been initialized.
714
+ * @return {Promise<this> } A Promise that resolves when the renderer has been initialized.
715
715
*/
716
716
async init ( ) {
717
717
@@ -780,7 +780,7 @@ class Renderer {
780
780
this . _animation . start ( ) ;
781
781
this . _initialized = true ;
782
782
783
- resolve ( ) ;
783
+ resolve ( this ) ;
784
784
785
785
} ) ;
786
786
You can’t perform that action at this time.
0 commit comments