diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-11-18 17:37:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 22:07:45 +0530 |
commit | b37a6b07b39c8c7827052dc6fb97f490f1e0f514 (patch) | |
tree | 0276e7c51f5ebfa14c566def7aac39f014c2291d /docs/example-feature/state.js | |
parent | Update github issues template [skip ci] (diff) | |
download | ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.tar.gz ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.tar.zst ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.zip |
chore: convert various files to TS (#2246)
* convert various files to TS
* removed outdated docs/example-feature folder
* turn off unicorn/no-empty-file
* update eslint config
Diffstat (limited to 'docs/example-feature/state.js')
-rw-r--r-- | docs/example-feature/state.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/docs/example-feature/state.js b/docs/example-feature/state.js deleted file mode 100644 index 676717da7..000000000 --- a/docs/example-feature/state.js +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | import { observable } from 'mobx'; | ||
2 | |||
3 | const defaultState = { | ||
4 | name: null, | ||
5 | isFeatureActive: false, | ||
6 | }; | ||
7 | |||
8 | export const exampleFeatureState = observable(defaultState); | ||
9 | |||
10 | export function resetState() { | ||
11 | Object.assign(exampleFeatureState, defaultState); | ||
12 | } | ||
13 | |||
14 | export default exampleFeatureState; | ||