mirror of
https://github.com/fatedier/frp.git
synced 2026-07-24 14:29:17 +08:00
web: restore Vite client declarations for both dashboards (#5415)
The 2024 bundler-mode migration changed the dashboard tsconfig include lists to src/**, leaving the root env.d.ts files outside the TypeScript programs. Move the Vite client declarations into src/ for both the frpc and frps dashboards so they are part of the programs again. Drop the *.vue wildcard module shim: the current vue-tsc toolchain resolves SFC types without it, and the shim would only mask real component prop types under plain tsc.
This commit is contained in:
1
web/frpc/src/env.d.ts
vendored
Normal file
1
web/frpc/src/env.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/// <reference types="vite/client" />
|
||||
Reference in New Issue
Block a user