mirror of https://github.com/vuejs/vitepress
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
388 B
15 lines
388 B
// re-export vite client types. with strict installers like pnpm, user won't
|
|
// be able to reference vite/client in project root.
|
|
/// <reference types="vite/client" />
|
|
|
|
export * from './dist/client/index.js'
|
|
|
|
declare global {
|
|
interface WindowEventMap {
|
|
'vitepress:codeGroupTabActivate': Event & {
|
|
/** code block element that was activated */
|
|
detail: Element
|
|
}
|
|
}
|
|
}
|