Skip to content

Commit c18fa80

Browse files
committed
refactor(shims): update shim file
1 parent 14a53e7 commit c18fa80

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

Diff for: env.d.ts

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/// <reference types="vite/client" />
2+
3+
// Global compile-time constants
4+
declare const __DEV__: boolean
5+
declare const __BROWSER__: boolean
6+
declare const __CI__: boolean
7+
8+
// Global .vue shim
9+
declare module '*.vue' {
10+
import type { DefineComponent } from 'vue'
11+
const component: DefineComponent<{}, {}, any>
12+
export default component
13+
}

Diff for: src/global.d.ts

-4
This file was deleted.

0 commit comments

Comments
 (0)