Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyunhe committed Nov 8, 2024
2 parents a3054c8 + b83e9f0 commit ccd8e49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions env.d.ts → src/env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@ declare module '*.vue' {
import type { DefineComponent } from 'vue'
const vueComponent: DefineComponent<{}, {}, any>
export default vueComponent
}

interface ImportMetaEnv {
readonly VITE_BASE_URL: string
readonly VITE_PUBLIC_PATH: string
readonly VITE_TITLE: string
}
2 changes: 1 addition & 1 deletion tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["env.d.ts", "src/**/*", "src/**/*.vue", "vitest.config.ts"],
"include": ["src/**/*", "src/**/*.vue", "vitest.config.ts"],
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"composite": true,
Expand Down

0 comments on commit ccd8e49

Please sign in to comment.