fumadocs-twoslash
Version:
Typescript Twoslash Integration for Fumadocs
15 lines (14 loc) • 457 B
TypeScript
import { TwoslashTypesCache } from "@shikijs/twoslash";
//#region src/cache-fs.d.ts
interface FileSystemTypeResultCacheOptions {
/**
* The directory to store the cache files.
*
* @default '.next/cache/twoslash'
*/
dir?: string;
cwd?: string;
}
declare function createFileSystemTypesCache(options?: FileSystemTypeResultCacheOptions): TwoslashTypesCache;
//#endregion
export { FileSystemTypeResultCacheOptions, createFileSystemTypesCache };