UNPKG

@shikijs/vitepress-twoslash

Version:

Enable Twoslash support in VitePress

19 lines (16 loc) 566 B
import { b as TwoslashTypesCache } from './shared/vitepress-twoslash.D_PyQzvF.mjs'; import '@shikijs/twoslash/core'; import 'twoslash'; import 'twoslash-vue'; import '@shikijs/twoslash'; interface FileSystemTypeResultCacheOptions { /** * The directory to store the cache files. * * @default '.vitepress/cache/twoslash' */ dir?: string; } declare function createFileSystemTypesCache(options?: FileSystemTypeResultCacheOptions): TwoslashTypesCache; export { createFileSystemTypesCache }; export type { FileSystemTypeResultCacheOptions };