UNPKG

docusaurus-twoslash

Version:

A Docusaurus plugin that adds TypeScript Twoslash integration for enhanced code blocks with type information

13 lines 489 B
import React from "react"; interface Props { children: React.ReactNode; className?: string; metastring?: string; title?: string; showLineNumbers?: boolean; language?: string; [key: string]: any; } export default function TwoslashCodeBlock({ children, className: blockClassName, metastring, title: titleProp, showLineNumbers: showLineNumbersProp, language: languageProp, ...props }: Props): JSX.Element; export {}; //# sourceMappingURL=TwoslashCodeBlock.d.ts.map