Skip to content

Commit 8cd4195

Browse files
jsprilaurenzlong
authored andcommitted
Fix type definition for functions.config() to enable code completion. (#127)
1 parent 1e16d6c commit 8cd4195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function config(): config.Config {
3535
export namespace config {
3636
// Config type is usable as a object (dot notation allowed), and firebase
3737
// property will also code complete.
38-
export type Config = any & { firebase?: firebase.AppOptions };
38+
export type Config = { [key: string]: any } & { firebase?: firebase.AppOptions };
3939

4040
/** @internal */
4141
export let singleton: config.Config;

0 commit comments

Comments
 (0)