@shikijs/vitepress-twoslash
Version:
Enable Twoslash support in VitePress
14 lines (13 loc) • 446 B
text/typescript
import { TwoslashTypesCache } from "@shikijs/twoslash";
//#region src/cache-fs.d.ts
interface FileSystemTypeResultCacheOptions {
/**
* The directory to store the cache files.
*
* @default '.vitepress/cache/twoslash'
*/
dir?: string;
}
declare function createFileSystemTypesCache(options?: FileSystemTypeResultCacheOptions): TwoslashTypesCache;
//#endregion
export { FileSystemTypeResultCacheOptions, createFileSystemTypesCache };