Skip to content

Commit

Permalink
fix(app-check, types): Correct ReactNativeFirebaseAppCheckProvider op…
Browse files Browse the repository at this point in the history
…tions type (#6911)

* fix(appcheck): Fixed ReactNativeFirebaseAppCheckProvider options type

* Update packages/app-check/lib/index.d.ts

---------

Co-authored-by: Mike Hardy <github@mikehardy.net>
  • Loading branch information
frw and mikehardy authored Feb 15, 2023
1 parent 5766667 commit 5d7241b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/app-check/lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ export namespace FirebaseAppCheckTypes {
* so AppCheck has the same experience across all platforms, with the only difference being the native
* providers you choose to use on each platform.
*/
configure(
web?: ReactNativeFirebaseAppCheckProviderWebOptions,
android?: ReactNativeFirebaseAppCheckProviderAndroidOptions,
apple?: ReactNativeFirebaseAppCheckProviderAppleOptions,
isTokenAutoRefreshEnabled?: boolean,
): Promise<void>;
configure(options: {
web?: ReactNativeFirebaseAppCheckProviderWebOptions;
android?: ReactNativeFirebaseAppCheckProviderAndroidOptions;
apple?: ReactNativeFirebaseAppCheckProviderAppleOptions;
isTokenAutoRefreshEnabled?: boolean;
}): Promise<void>;
}

/**
Expand Down

1 comment on commit 5d7241b

@vercel
Copy link

@vercel vercel bot commented on 5d7241b Feb 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.