UNPKG

@shikijs/vitepress-twoslash

Version:

Enable Twoslash support in VitePress

18 lines (15 loc) 555 B
import { b as TwoslashTypesCache } from './shared/vitepress-twoslash.D0M9n6iV.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 { type FileSystemTypeResultCacheOptions, createFileSystemTypesCache };