fix: type errors

This commit is contained in:
三咲智子 2022-11-27 16:54:00 +08:00
parent c4af4a610e
commit a101b79486
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
4 changed files with 11 additions and 5 deletions

View file

@ -1,7 +1,5 @@
<script setup lang="ts">
// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
// @ts-ignore build time
const buildTime = __BUILD_TIME__
const buildTime = import.meta.env.__BUILD_TIME__ as string
const buildTimeAgo = useTimeAgo(buildTime)
</script>