@shikijs/twoslash 3.2.0 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core.d.mts CHANGED
@@ -286,4 +286,5 @@ declare function defaultHoverInfoProcessor(type: string): string;
286
286
  declare function defaultTwoslashOptions(): TwoslashExecuteOptions;
287
287
  declare function createTransformerFactory(defaultTwoslasher: TwoslashShikiFunction | TwoslashGenericFunction, defaultRenderer?: TwoslashRenderer): (options?: TransformerTwoslashOptions) => ShikiTransformer;
288
288
 
289
- export { type CompletionItem, type HastExtension, type RendererRichOptions, ShikiTwoslashError, type TransformerTwoslashOptions, type TwoslashRenderer, type TwoslashShikiFunction, type TwoslashShikiReturn, createTransformerFactory, defaultCompletionIcons, defaultCustomTagIcons, defaultHoverInfoProcessor, defaultTwoslashOptions, rendererClassic, rendererRich };
289
+ export { ShikiTwoslashError, createTransformerFactory, defaultCompletionIcons, defaultCustomTagIcons, defaultHoverInfoProcessor, defaultTwoslashOptions, rendererClassic, rendererRich };
290
+ export type { CompletionItem, HastExtension, RendererRichOptions, TransformerTwoslashOptions, TwoslashRenderer, TwoslashShikiFunction, TwoslashShikiReturn };
package/dist/index.d.mts CHANGED
@@ -17,4 +17,5 @@ interface TransformerTwoslashIndexOptions extends TransformerTwoslashOptions, Pi
17
17
  */
18
18
  declare function transformerTwoslash(options?: TransformerTwoslashIndexOptions): ShikiTransformer;
19
19
 
20
- export { RendererRichOptions, type TransformerTwoslashIndexOptions, TransformerTwoslashOptions, transformerTwoslash };
20
+ export { RendererRichOptions, TransformerTwoslashOptions, transformerTwoslash };
21
+ export type { TransformerTwoslashIndexOptions };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/twoslash",
3
3
  "type": "module",
4
- "version": "3.2.0",
4
+ "version": "3.2.2",
5
5
  "description": "Shiki transformer for twoslash",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -36,15 +36,15 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "twoslash": "^0.3.1",
39
- "@shikijs/core": "3.2.0",
40
- "@shikijs/types": "3.2.0"
39
+ "@shikijs/core": "3.2.2",
40
+ "@shikijs/types": "3.2.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@iconify-json/carbon": "^1.2.8",
44
- "@iconify-json/codicon": "^1.2.12",
44
+ "@iconify-json/codicon": "^1.2.15",
45
45
  "hast-util-from-html": "^2.0.3",
46
- "typescript": "^5.8.2",
47
- "@shikijs/twoslash": "3.2.0"
46
+ "typescript": "^5.8.3",
47
+ "@shikijs/twoslash": "3.2.2"
48
48
  },
49
49
  "scripts": {
50
50
  "build": "unbuild",