diff options
Diffstat (limited to 'src/@types')
-rw-r--r-- | src/@types/ferdium-components.types.ts | 4 | ||||
-rw-r--r-- | src/@types/ferdium.types.ts | 2 | ||||
-rw-r--r-- | src/@types/mobx-form.types.ts | 4 | ||||
-rw-r--r-- | src/@types/stores.types.ts | 14 |
4 files changed, 12 insertions, 12 deletions
diff --git a/src/@types/ferdium-components.types.ts b/src/@types/ferdium-components.types.ts index 516ef9dd7..35c0da85f 100644 --- a/src/@types/ferdium-components.types.ts +++ b/src/@types/ferdium-components.types.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { Actions } from '../actions/lib/actions'; | 1 | import type { Actions } from '../actions/lib/actions'; |
2 | import { RealStores } from '../stores'; | 2 | import type { RealStores } from '../stores'; |
3 | 3 | ||
4 | export interface StoresProps { | 4 | export interface StoresProps { |
5 | actions: Actions; | 5 | actions: Actions; |
diff --git a/src/@types/ferdium.types.ts b/src/@types/ferdium.types.ts index f54fb64ae..1120b73c8 100644 --- a/src/@types/ferdium.types.ts +++ b/src/@types/ferdium.types.ts | |||
@@ -21,4 +21,4 @@ declare global { | |||
21 | * Workaround to make TS recognize this file as a module. | 21 | * Workaround to make TS recognize this file as a module. |
22 | * https://fettblog.eu/typescript-augmenting-global-lib-dom/ | 22 | * https://fettblog.eu/typescript-augmenting-global-lib-dom/ |
23 | */ | 23 | */ |
24 | export {}; | 24 | export type {}; |
diff --git a/src/@types/mobx-form.types.ts b/src/@types/mobx-form.types.ts index aa274b9db..67b0aa3ec 100644 --- a/src/@types/mobx-form.types.ts +++ b/src/@types/mobx-form.types.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { ChangeEventHandler, FocusEventHandler } from 'react'; | 1 | import type { ChangeEventHandler, FocusEventHandler } from 'react'; |
2 | import { GlobalError } from './ferdium-components.types'; | 2 | import type { GlobalError } from './ferdium-components.types'; |
3 | 3 | ||
4 | interface SelectOptions { | 4 | interface SelectOptions { |
5 | disabled?: boolean; | 5 | disabled?: boolean; |
diff --git a/src/@types/stores.types.ts b/src/@types/stores.types.ts index c2d7bd78a..a2e935bf1 100644 --- a/src/@types/stores.types.ts +++ b/src/@types/stores.types.ts | |||
@@ -1,11 +1,11 @@ | |||
1 | /* eslint-disable no-use-before-define */ | 1 | /* eslint-disable no-use-before-define */ |
2 | import Workspace from '../features/workspaces/models/Workspace'; | 2 | import type Workspace from '../features/workspaces/models/Workspace'; |
3 | import Recipe from '../models/Recipe'; | 3 | import type Recipe from '../models/Recipe'; |
4 | import Service from '../models/Service'; | 4 | import type Service from '../models/Service'; |
5 | import User from '../models/User'; | 5 | import type User from '../models/User'; |
6 | import Request from '../stores/lib/Request'; | 6 | import type CachedRequest from '../stores/lib/CachedRequest'; |
7 | import CachedRequest from '../stores/lib/CachedRequest'; | 7 | import type Reaction from '../stores/lib/Reaction'; |
8 | import Reaction from '../stores/lib/Reaction'; | 8 | import type Request from '../stores/lib/Request'; |
9 | 9 | ||
10 | // TODO: This file will be removed in the future when all stores are | 10 | // TODO: This file will be removed in the future when all stores are |
11 | // correctly typed and the use of these interfaces are obsolete. | 11 | // correctly typed and the use of these interfaces are obsolete. |