Skip to content

Commit

Permalink
fixed compilation error TS2794: Expected 1 arguments, but got 0
Browse files Browse the repository at this point in the history
  • Loading branch information
mic345 committed Dec 6, 2020
1 parent e143b74 commit a146969
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import {

declare var window: any;

export class FirebaseRemoteConfigWeb extends WebPlugin
export class FirebaseRemoteConfigWeb
extends WebPlugin
implements FirebaseRemoteConfigPlugin {
public readonly ready: Promise<any>;
private readyResolver: Function;
Expand Down Expand Up @@ -243,7 +244,7 @@ export class FirebaseRemoteConfigWeb extends WebPlugin
document.getElementById(scripts[0]) &&
document.getElementById(scripts[1])
) {
return resolve();
return resolve(null);
}

this.scripts.forEach((script: { key: string; src: string }) => {
Expand Down

0 comments on commit a146969

Please sign in to comment.