fix: resolve all TypeScript type errors

- Install missing comlink (was in lockfile but not node_modules)
- Add @ts-rest/core and @ts-rest/vue-query (imported but not declared as deps)
- Add declare module '*.vue' shim to shims-vue.d.ts
- Replace arktype validators in ts-rest contract with contract.type<T>() since @ts-rest expects Zod schemas
This commit is contained in:
Julien Calixte
2026-04-06 15:05:57 +02:00
parent 8d9134a062
commit f3e74aed34
4 changed files with 52 additions and 17 deletions

6
src/shims-vue.d.ts vendored
View File

@@ -1,3 +1,9 @@
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}
declare module "pouchdb-adapter-indexeddb"
declare module "@toycode/markdown-it-class"
declare module "markdown-it-block-embed"