Skip to content

Commit c1f0388

Browse files
authored
Change intersection type of Config from Object to Any. (#125)
Being typed on Object did not allow us to "dot" into any fields in TypeScript.
1 parent 01eb276 commit c1f0388

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 = Object & { firebase?: firebase.AppOptions };
38+
export type Config = any & { firebase?: firebase.AppOptions };
3939

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

0 commit comments

Comments
 (0)