diff options
author | 2021-10-02 09:24:32 +0200 | |
---|---|---|
committer | 2021-10-02 09:24:32 +0200 | |
commit | bfe8847d72cd0893230f2e654242658214943e61 (patch) | |
tree | 3384b02ebad7a74cbb106ddd95546e0e24ff0bb8 /src/api/NewsApi.js | |
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/NewsApi.js')
-rw-r--r-- | src/api/NewsApi.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/api/NewsApi.js b/src/api/NewsApi.js deleted file mode 100644 index 294957511..000000000 --- a/src/api/NewsApi.js +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | export default class NewsApi { | ||
2 | constructor(server, local) { | ||
3 | this.server = server; | ||
4 | this.local = local; | ||
5 | } | ||
6 | |||
7 | latest() { | ||
8 | return this.server.getLatestNews(); | ||
9 | } | ||
10 | |||
11 | hide(id) { | ||
12 | return this.server.hideNews(id); | ||
13 | } | ||
14 | } | ||