diff options
author | Ricardo Cino <ricardo@cino.io> | 2022-06-22 00:32:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 22:32:18 +0000 |
commit | 73ba955e344c8ccedd43235495ef8b72b5a2b6fd (patch) | |
tree | 03766ab32fefe7e83026a14393527f1dcbaed849 /src/models/User.ts | |
parent | docs: add cino as a contributor for infra [skip ci] (#330) (diff) | |
download | ferdium-app-73ba955e344c8ccedd43235495ef8b72b5a2b6fd.tar.gz ferdium-app-73ba955e344c8ccedd43235495ef8b72b5a2b6fd.tar.zst ferdium-app-73ba955e344c8ccedd43235495ef8b72b5a2b6fd.zip |
chore: Transform AppStore.js into Typescript (#329)
* turn actions into typescript
* correct tsconfig
* added TypedStore
Diffstat (limited to 'src/models/User.ts')
-rw-r--r-- | src/models/User.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models/User.ts b/src/models/User.ts index 8c8f3e490..14481fbb6 100644 --- a/src/models/User.ts +++ b/src/models/User.ts | |||
@@ -8,7 +8,7 @@ interface IUser { | |||
8 | organization: string | null; | 8 | organization: string | null; |
9 | accountType: string | null; | 9 | accountType: string | null; |
10 | beta: boolean; | 10 | beta: boolean; |
11 | locale: boolean; | 11 | locale: string; |
12 | isSubscriptionOwner: boolean; | 12 | isSubscriptionOwner: boolean; |
13 | team: object; | 13 | team: object; |
14 | } | 14 | } |
@@ -37,7 +37,7 @@ export default class User { | |||
37 | 37 | ||
38 | @observable beta = false; | 38 | @observable beta = false; |
39 | 39 | ||
40 | @observable locale = false; | 40 | @observable locale: string | null = null; |
41 | 41 | ||
42 | @observable team = {}; | 42 | @observable team = {}; |
43 | 43 | ||