shiki-twoslash
Version:
API primitives to mix Shiki with Twoslash
8 lines (7 loc) • 416 B
TypeScript
declare type Lines = import("shiki").IThemedToken[][];
declare type TwoSlash = import("@typescript/twoslash").TwoSlashReturn;
import { TwoslashShikiOptions } from "..";
import { Meta } from "../utils";
import { HtmlRendererOptions } from "./plain";
export declare function twoslashRenderer(lines: Lines, options: HtmlRendererOptions & TwoslashShikiOptions, twoslash: TwoSlash, meta: Meta): string;
export {};