Fix some linter issues

This commit is contained in:
2022-03-15 19:50:49 +00:00
parent 3ea90a5ebe
commit 66322ebd86
6 changed files with 49 additions and 32 deletions

View File

@ -1,6 +1,8 @@
<script lang="ts" setup>
import Input from './Input.vue';
const props = defineProps(["modelValue"]);
const props = defineProps<{
modelValue: Date
}>();
const emit = defineEmits(['update:modelValue']);
function dateToYYYYMMDD(d: Date) : string {

View File

@ -1,5 +1,5 @@
<script lang="ts" setup>
const props = defineProps(["modelValue"]);
const props = defineProps<{modelValue : number | string}>();
</script>
<template>