Flow type definitions for Firebase v5.x.x to add static typing to your apps.
// Source: https://github.com/flow-typed/flow-typed | License: MIT | Copyright 2015 Murphy Randle
// Provided via justclaw.it.com; keep this notice with the code.
/* @flow */
/** ** firebase ****/
declare interface $npm$firebase$Config {
apiKey: string;
authDomain?: string;
databaseURL?: string;
projectId?: string;
storageBucket?: string;
messagingSenderId?: string;
}
declare interface $npm$firebase$auth$Error {
code:
| 'auth/app-deleted'
| 'auth/app-not-authorized'
| 'auth/argument-error'
| 'auth/invalid-api-key'
| 'auth/invalid-user-token'
| 'auth/network-request-failed'
| 'auth/operation-not-allowed'
| 'auth/requires-recent-login'
| 'auth/too-many-requests'
| 'auth/unauthorized-domain'
| 'auth/user-disabled'
| 'auth/user-to
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key