fix tsconfig
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import { iskFormater } from '@/utils';
|
||||
import { useStorage } from '@vueuse/core';
|
||||
import { ref } from 'vue';
|
||||
import ReprocessInput from './ReprocessInput.vue';
|
||||
import { ReprocessItemValues, reprocess } from './reprocess';
|
||||
|
||||
const items = ref("");
|
||||
const minerals = ref("");
|
||||
const efficiency = ref(0.55);
|
||||
const efficiency = useStorage('reprocess-efficiency', 0.55);
|
||||
|
||||
const result = ref<ReprocessItemValues[]>([]);
|
||||
|
||||
@@ -28,8 +29,8 @@ const send = async () => result.value = await reprocess(items.value, minerals.va
|
||||
<div class="grid mt-2 px-4">
|
||||
<button class="py-0.5 px-2 justify-self-end border rounded bg-slate-200" @click="send">Send</button>
|
||||
</div>
|
||||
<div class="grid mt-2 px-4">
|
||||
<table v-if="result.length > 0" class="table-auto border-collapse border w-full">
|
||||
<div v-if="result.length > 0" class="grid mt-2 px-4">
|
||||
<table class="table-auto border-collapse border w-full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="border bg-slate-200">Item</th>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { apiAxiosInstance } from "../service";
|
||||
import { apiAxiosInstance } from "@/service";
|
||||
|
||||
export type ReprocessItemValues = {
|
||||
typeID: number;
|
||||
|
||||
@@ -18,7 +18,15 @@
|
||||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"noFallthroughCasesInSwitch": true
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"paths": {
|
||||
"@/*": [
|
||||
"./src/*"
|
||||
],
|
||||
"src/*": [
|
||||
"./src/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
||||
"references": [{ "path": "./tsconfig.node.json" }]
|
||||
|
||||
Reference in New Issue
Block a user