Skip to content

Commit

Permalink
fix(types): explicitly re-export to resolve ambiguities (#1193)
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd authored Aug 17, 2022
1 parent e0932ce commit eacc18c
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,35 @@
export * from '../dist/node/index.js'
export * from '../dist/client/index.js'
export * from './shared.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'

0 comments on commit eacc18c

Please sign in to comment.