From 73ba955e344c8ccedd43235495ef8b72b5a2b6fd Mon Sep 17 00:00:00 2001 From: Ricardo Cino Date: Wed, 22 Jun 2022 00:32:18 +0200 Subject: chore: Transform AppStore.js into Typescript (#329) * turn actions into typescript * correct tsconfig * added TypedStore --- src/models/User.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/models') 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 { organization: string | null; accountType: string | null; beta: boolean; - locale: boolean; + locale: string; isSubscriptionOwner: boolean; team: object; } @@ -37,7 +37,7 @@ export default class User { @observable beta = false; - @observable locale = false; + @observable locale: string | null = null; @observable team = {}; -- cgit v1.2.3-54-g00ecf