diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-10-02 09:24:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 09:24:32 +0200 |
commit | bfe8847d72cd0893230f2e654242658214943e61 (patch) | |
tree | 3384b02ebad7a74cbb106ddd95546e0e24ff0bb8 /src/api/FeaturesApi.ts | |
parent | fix: Fix navigation shortcut accelerator for non-macos (fixes #1172) (#2012) (diff) | |
download | ferdium-app-bfe8847d72cd0893230f2e654242658214943e61.tar.gz ferdium-app-bfe8847d72cd0893230f2e654242658214943e61.tar.zst ferdium-app-bfe8847d72cd0893230f2e654242658214943e61.zip |
chore: convert various files from JS to TS (#2010)
Diffstat (limited to 'src/api/FeaturesApi.ts')
-rw-r--r-- | src/api/FeaturesApi.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/api/FeaturesApi.ts b/src/api/FeaturesApi.ts new file mode 100644 index 000000000..ccad4a189 --- /dev/null +++ b/src/api/FeaturesApi.ts | |||
@@ -0,0 +1,15 @@ | |||
1 | export default class FeaturesApi { | ||
2 | server: any; | ||
3 | |||
4 | constructor(server: any) { | ||
5 | this.server = server; | ||
6 | } | ||
7 | |||
8 | default() { | ||
9 | return this.server.getDefaultFeatures(); | ||
10 | } | ||
11 | |||
12 | features() { | ||
13 | return this.server.getFeatures(); | ||
14 | } | ||
15 | } | ||