Skip to content

Commit 340d9c9

Browse files
committed
fix: Fixes warning TS1016
1 parent 6685fca commit 340d9c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Meteor.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ declare module '@meteorrn/core' {
7474

7575
ddp: Data;
7676

77-
_handleLoginCallback(err?: MeteorError, res: { token: string, id: string }): void;
77+
_handleLoginCallback(err: MeteorError | null | undefined, res: { token: string, id: string }): void;
7878
}
7979

8080
interface Accounts {

0 commit comments

Comments
 (0)