specify explicit type

This commit is contained in:
Hayden 2024-01-05 13:08:11 -06:00
parent cb01595180
commit de8ecde3d1
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -1,7 +1,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { Detail } from "~~/components/global/DetailsSection/types"; import { Detail } from "~~/components/global/DetailsSection/types";
import { themes } from "~~/lib/data/themes"; import { themes } from "~~/lib/data/themes";
import { NotifierCreate, NotifierOut } from "~~/lib/api/types/data-contracts"; import { CurrenciesCurrency, NotifierCreate, NotifierOut } from "~~/lib/api/types/data-contracts";
definePageMeta({ definePageMeta({
middleware: ["auth"], middleware: ["auth"],
@ -25,7 +25,7 @@
}); });
// Currency Selection // Currency Selection
const currency = ref<typeof currencies.value[number]>({ const currency = ref<CurrenciesCurrency>({
code: "USD", code: "USD",
name: "United States Dollar", name: "United States Dollar",
local: "en-US", local: "en-US",