diff options
author | Zero~Informatique | 2021-07-02 22:53:16 +0200 |
---|---|---|
committer | Zero~Informatique | 2021-07-03 00:05:22 +0200 |
commit | 9165cc1efcf7791f78b61b2c51a9de651b1b09aa (patch) | |
tree | 111cfdc74ddaf7b19ff27508f16ab84694b27670 /viewer/src/components/LdTitle.vue | |
parent | 08ac32103fb5f8cca1861267dfd07a7c0d2faf62 (diff) | |
download | ldgallery-9165cc1efcf7791f78b61b2c51a9de651b1b09aa.tar.gz |
viewer: types normalization - gallery.d.ts
GitHub: closes #301
Diffstat (limited to 'viewer/src/components/LdTitle.vue')
-rw-r--r-- | viewer/src/components/LdTitle.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/viewer/src/components/LdTitle.vue b/viewer/src/components/LdTitle.vue index 074008d..e1d47d1 100644 --- a/viewer/src/components/LdTitle.vue +++ b/viewer/src/components/LdTitle.vue | |||
@@ -18,12 +18,13 @@ | |||
18 | --> | 18 | --> |
19 | 19 | ||
20 | <script lang="ts"> | 20 | <script lang="ts"> |
21 | import { Component, Vue, Watch, Prop } from "vue-property-decorator"; | 21 | import { Item } from "@/@types/gallery"; |
22 | import { Component, Prop, Vue, Watch } from "vue-property-decorator"; | ||
22 | 23 | ||
23 | @Component | 24 | @Component |
24 | export default class LdTitle extends Vue { | 25 | export default class LdTitle extends Vue { |
25 | @Prop({ required: true }) readonly galleryTitle!: string; | 26 | @Prop({ required: true }) readonly galleryTitle!: string; |
26 | @Prop() readonly currentItem?: Gallery.Item; | 27 | @Prop() readonly currentItem?: Item; |
27 | 28 | ||
28 | render() { | 29 | render() { |
29 | return null; | 30 | return null; |