Skip to content

Commit 7c06091

Browse files
committed
fix: Fixes lint warnings
1 parent 340d9c9 commit 7c06091

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/Meteor.d.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
import { AsyncStorageStatic } from "@react-native-async-storage/async-storage";
1+
import { AsyncStorageStatic } from '@react-native-async-storage/async-storage';
22

33
declare module '@meteorrn/core' {
44
type Callback = (...args: unknown[]) => void;
5-
5+
66
type Status =
77
| 'change'
88
| 'connected'
99
| 'disconnected'
1010
| 'loggingIn'
1111
| 'loggingOut';
1212

13-
type useTracker<T> = (cb: () => T) => T
13+
type useTracker<T> = (cb: () => T) => T;
1414

1515
interface Data {
1616
getUrl(): string;
@@ -28,9 +28,9 @@ declare module '@meteorrn/core' {
2828
}
2929

3030
interface MeteorError {
31-
error: string
32-
reason?: string
33-
details?: string
31+
error: string;
32+
reason?: string;
33+
details?: string;
3434
}
3535

3636
interface User {
@@ -43,9 +43,9 @@ declare module '@meteorrn/core' {
4343
}
4444

4545
interface ConnectOptions {
46-
suppressUrlErrors: boolean
47-
AsyncStorage: AsyncStorageStatic
48-
reachabilityUrl: string
46+
suppressUrlErrors: boolean;
47+
AsyncStorage: AsyncStorageStatic;
48+
reachabilityUrl: string;
4949
}
5050

5151
interface Meteor {
@@ -72,9 +72,12 @@ declare module '@meteorrn/core' {
7272

7373
useTracker<T>(): useTracker<T>;
7474

75-
ddp: Data;
75+
ddp: Data;
7676

77-
_handleLoginCallback(err: MeteorError | null | undefined, res: { token: string, id: string }): void;
77+
_handleLoginCallback(
78+
err: MeteorError | null | undefined,
79+
res: { token: string; id: string }
80+
): void;
7881
}
7982

8083
interface Accounts {
@@ -86,8 +89,5 @@ declare module '@meteorrn/core' {
8689
export default Meteor;
8790

8891
// Export other members
89-
export {
90-
useTracker,
91-
Accounts,
92-
}
92+
export { useTracker, Accounts };
9393
}

0 commit comments

Comments
 (0)