diff options
author | Zero~Informatique | 2021-07-02 23:04:52 +0200 |
---|---|---|
committer | Zero~Informatique | 2021-07-03 00:05:23 +0200 |
commit | 1f0377c1b4c2959c73fe4e368673f057ef369917 (patch) | |
tree | 5ed06cc5ecdabe070f6fdb9bc4f9a8a3b435cbe6 /viewer/src | |
parent | 4fa86b565c2055f11e87991b61ba3844c3da8894 (diff) | |
download | ldgallery-1f0377c1b4c2959c73fe4e368673f057ef369917.tar.gz |
viewer: types normalization - scrollposition.d.ts
GitHub: closes #301
Diffstat (limited to 'viewer/src')
-rw-r--r-- | viewer/src/@types/scrollposition.d.ts | 2 | ||||
-rw-r--r-- | viewer/src/views/MainLayout.vue | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/viewer/src/@types/scrollposition.d.ts b/viewer/src/@types/scrollposition.d.ts index 2f17515..0102eab 100644 --- a/viewer/src/@types/scrollposition.d.ts +++ b/viewer/src/@types/scrollposition.d.ts | |||
@@ -17,4 +17,4 @@ | |||
17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. | 17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. |
18 | */ | 18 | */ |
19 | 19 | ||
20 | type ScrollPosition = Record<string, number>; | 20 | export type ScrollPosition = Record<string, number>; |
diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index edca4bf..13b17b4 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue | |||
@@ -29,6 +29,7 @@ | |||
29 | </template> | 29 | </template> |
30 | 30 | ||
31 | <script lang="ts"> | 31 | <script lang="ts"> |
32 | import { ScrollPosition } from "@/@types/scrollposition"; | ||
32 | import { Component, Ref, Vue, Watch } from "vue-property-decorator"; | 33 | import { Component, Ref, Vue, Watch } from "vue-property-decorator"; |
33 | import { Route } from "vue-router"; | 34 | import { Route } from "vue-router"; |
34 | import PanelLeft from "./PanelLeft.vue"; | 35 | import PanelLeft from "./PanelLeft.vue"; |