Skip to content

[Types][v9] Missing [api].app typings for Auth, Performance, and Remote Config  #5346

@justjish

Description

@justjish

[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() });

Screen Shot 2021-08-22 at 2 34 30 AM

// 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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions