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 @@ -241,10 +241,10 @@ export class Loader {
241
241
url : string ;
242
242
243
243
private CALLBACK = "__googleMapsCallback" ;
244
- private callbacks : ( ( e : Event ) => void ) [ ] = [ ] ;
244
+ private callbacks : ( ( e : ErrorEvent ) => void ) [ ] = [ ] ;
245
245
private done = false ;
246
246
private loading = false ;
247
- private onerrorEvent : Event ;
247
+ private onerrorEvent : ErrorEvent ;
248
248
private static instance : Loader ;
249
249
private errors : ErrorEvent [ ] = [ ] ;
250
250
@@ -391,7 +391,7 @@ export class Loader {
391
391
/**
392
392
* Load the Google Maps JavaScript API script with a callback.
393
393
*/
394
- loadCallback ( fn : ( e : Event ) => void ) : void {
394
+ loadCallback ( fn : ( e : ErrorEvent ) => void ) : void {
395
395
this . callbacks . push ( fn ) ;
396
396
this . execute ( ) ;
397
397
}
You can’t perform that action at this time.
0 commit comments