feature: vor und nachteile

This commit is contained in:
Hikyu
2026-05-31 13:54:31 +02:00
parent 552a947a1c
commit e3dad17446
23270 changed files with 3024794 additions and 200 deletions
+20
View File
@@ -0,0 +1,20 @@
import { ShikiTransformer } from '@shikijs/types';
import { CreateTwoslashOptions } from 'twoslash';
import { TransformerTwoslashOptions, RendererRichOptions } from './core.mjs';
export { CompletionItem, HastExtension, ShikiTwoslashError, TwoslashRenderer, TwoslashShikiFunction, TwoslashShikiReturn, createTransformerFactory, defaultCompletionIcons, defaultCustomTagIcons, defaultHoverInfoProcessor, defaultTwoslashOptions, rendererClassic, rendererRich } from './core.mjs';
import 'hast';
interface TransformerTwoslashIndexOptions extends TransformerTwoslashOptions, Pick<CreateTwoslashOptions, 'cache'> {
/**
* Options for the default rich renderer.
*
* Available when no custom renderer is provided.
*/
rendererRich?: RendererRichOptions;
}
/**
* Factory function to create a Shiki transformer for twoslash integrations.
*/
declare function transformerTwoslash(options?: TransformerTwoslashIndexOptions): ShikiTransformer;
export { RendererRichOptions, type TransformerTwoslashIndexOptions, TransformerTwoslashOptions, transformerTwoslash };