docusaurus-twoslash
Version:
A Docusaurus plugin that adds TypeScript Twoslash integration for enhanced code blocks with type information
16 lines • 400 B
TypeScript
import React from 'react';
interface Props {
children: React.ReactNode;
className?: string;
metastring?: string;
title?: string;
showLineNumbers?: boolean;
language?: string;
[key: string]: any;
}
/**
* Enhanced CodeBlock component that adds Twoslash support
*/
export default function CodeBlock(props: Props): JSX.Element;
export {};
//# sourceMappingURL=index.d.ts.map