Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(types): add facade files for backward compatibility
- Loading branch information
1 parent
9a0e088
commit 763d8f3
Showing
5 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export type { CustomEventMap, InferCustomEventPayload } from '../client/types' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export type { | ||
HMRPayload, | ||
ConnectedPayload, | ||
UpdatePayload, | ||
Update, | ||
PrunePayload, | ||
FullReloadPayload, | ||
CustomPayload, | ||
ErrorPayload | ||
} from '../client/types' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export type { ModuleNamespace, ViteHotContext } from '../client/types' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export type { | ||
ImportGlobOptions, | ||
GeneralImportGlobOptions, | ||
KnownAsTypeMap, | ||
ImportGlobFunction, | ||
ImportGlobEagerFunction | ||
} from '../client/types' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import type { | ||
ImportMeta as ViteImportMeta, | ||
ImportMetaEnv as ViteImportMetaEnv | ||
} from '../client/types' | ||
|
||
declare global { | ||
interface GlobOptions { | ||
as?: string | ||
} | ||
|
||
interface ImportMeta extends ViteImportMeta {} | ||
interface ImportMetaEnv extends ViteImportMetaEnv {} | ||
} |