Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 2aa9a15

Browse files
committed
[chore] - Fix typing errors
1 parent 94179c6 commit 2aa9a15

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/app/auth/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { FirebaseEmailLinkActionCodeSettings, LoginType, User } from "../../fire
44
export module auth {
55
export class Auth {
66
private authStateChangedHandler;
7-
public currentUser: User;
7+
public currentUser: User | undefined;
88
public languageCode: string | null;
99

1010
public onAuthStateChanged(handler: (user: User) => void): void {

src/app/database/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import * as firebase from "../../firebase";
2-
import { AddEventListenerResult, FBData } from "../../firebase";
32
import { nextPushId } from "./util/NextPushId";
43

54
export namespace database {
@@ -94,7 +93,7 @@ export namespace database {
9493
* Creates a Query with the specified starting point. The value to start at should match the type
9594
* passed to orderBy(). If using orderByKey(), the value must be a string
9695
*/
97-
public startAt(value: number | string | boolean | null): firebase.Query {
96+
public startAt(value: number | string | boolean): firebase.Query {
9897
return this.queryObject.startAt(value);
9998
}
10099

src/app/storage/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export module storage {
1111

1212
export class Reference {
1313

14-
private path: string;
14+
private path: string | undefined;
1515

1616
parent: Reference | null; // TODO set this every time we navigate..
1717
root: Reference;

0 commit comments

Comments
 (0)