chore(v2): TypeScript, use isolatedModules (#4790)

* Use isolatedModules

* better solution for useDocs?

* fix blog-only mode

* fix bad useDocs import
This commit is contained in:
Sébastien Lorber 2021-05-14 15:36:55 +02:00 committed by GitHub
parent aaeda674b1
commit 01adf25b0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 29 deletions

View file

@ -5,8 +5,9 @@
* LICENSE file in the root directory of this source tree.
*/
export {
useThemeConfig,
export {useThemeConfig} from './utils/useThemeConfig';
export type {
ThemeConfig,
Navbar,
NavbarItem,