fix(types): explicitly re-export to resolve ambiguities (#1193)

pull/1200/head
Divyansh Singh 2 years ago committed by GitHub
parent e0932ce5f4
commit eacc18c993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

37
types/index.d.ts vendored

@ -1,2 +1,35 @@
export * from '../dist/node/index.js' export * from './shared.js'
export * from '../dist/client/index.js'
export {
Content,
EnhanceAppContext,
Route,
Router,
Theme,
VitePressData,
inBrowser,
useData,
useRoute,
useRouter,
withBase
} from '../dist/client/index.js'
export {
MarkdownOptions,
MarkdownParsedData,
MarkdownRenderer,
RawConfigExports,
ServeOptions,
SiteConfig,
ThemeOptions,
UserConfig,
build,
createMarkdownRenderer,
createServer,
defineConfig,
defineConfigWithTheme,
resolveConfig,
resolveSiteData,
resolveSiteDataByRoute,
serve
} from '../dist/node/index.js'

Loading…
Cancel
Save