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 {
241241 url : string ;
242242
243243 private CALLBACK = "__googleMapsCallback" ;
244- private callbacks : ( ( e : Event ) => void ) [ ] = [ ] ;
244+ private callbacks : ( ( e : ErrorEvent ) => void ) [ ] = [ ] ;
245245 private done = false ;
246246 private loading = false ;
247- private onerrorEvent : Event ;
247+ private onerrorEvent : ErrorEvent ;
248248 private static instance : Loader ;
249249 private errors : ErrorEvent [ ] = [ ] ;
250250
@@ -391,7 +391,7 @@ export class Loader {
391391 /**
392392 * Load the Google Maps JavaScript API script with a callback.
393393 */
394- loadCallback ( fn : ( e : Event ) => void ) : void {
394+ loadCallback ( fn : ( e : ErrorEvent ) => void ) : void {
395395 this . callbacks . push ( fn ) ;
396396 this . execute ( ) ;
397397 }
You can’t perform that action at this time.
0 commit comments