-
Notifications
You must be signed in to change notification settings - Fork 954
Closed
Closed
Copy link
Description
[REQUIRED] Describe your environment
- Operating System version: _____
- Browser version: _____
- Firebase SDK version: 9.0.0-2021720181311
- Firebase Product: auth, performance, remote-config
[REQUIRED] Describe the problem
I was wondering if there is a plan to include [api].app
typings for all v9 apis?
Currently auth, performance, and remote-config don’t have it available in their typings, but they do implement it.
Normally I would assume a typing not being included means it is intended to be private, but it doesn’t follow your typical convention of using an underscore (_
) to denote a private property/method.
Steps to reproduce:
Relevant Code:
console.log({ auth: getAuth() });
console.log({ performance: getPerformance() });
console.log({ remoteconfig: getRemoteConfig() });
// Typescript Errors
getAuth().app // Property 'app' does not exist on type 'Auth'.ts(2339)
getPerformance().app // Property 'app' does not exist on type 'FirebasePerformance'.ts(2339)
getRemoteConfig().app // Property 'app' does not exist on type 'RemoteConfig'.ts(2339)