diff options
author | 2022-06-22 00:32:18 +0200 | |
---|---|---|
committer | 2022-06-21 22:32:18 +0000 | |
commit | 73ba955e344c8ccedd43235495ef8b72b5a2b6fd (patch) | |
tree | 03766ab32fefe7e83026a14393527f1dcbaed849 /src/actions/service.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/actions/service.ts')
-rw-r--r-- | src/actions/service.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions/service.ts b/src/actions/service.ts index aa02c860a..4b43fc2ca 100644 --- a/src/actions/service.ts +++ b/src/actions/service.ts | |||
@@ -1,7 +1,8 @@ | |||
1 | import PropTypes from 'prop-types'; | 1 | import PropTypes from 'prop-types'; |
2 | import ServiceModel from '../models/Service'; | 2 | import ServiceModel from '../models/Service'; |
3 | import { ActionDefinitions } from './lib/actions'; | ||
3 | 4 | ||
4 | export default { | 5 | export default <ActionDefinitions>{ |
5 | setActive: { | 6 | setActive: { |
6 | serviceId: PropTypes.string.isRequired, | 7 | serviceId: PropTypes.string.isRequired, |
7 | keepActiveRoute: PropTypes.bool, | 8 | keepActiveRoute: PropTypes.bool, |