@shikijs/twoslash 3.2.1 → 3.3.0
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 +2 -1
- package/dist/index.d.mts +2 -1
- package/package.json +6 -6
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 {
|
|
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,
|
|
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.
|
|
4
|
+
"version": "3.3.0",
|
|
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/
|
|
40
|
-
"@shikijs/
|
|
39
|
+
"@shikijs/types": "3.3.0",
|
|
40
|
+
"@shikijs/core": "3.3.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@iconify-json/carbon": "^1.2.8",
|
|
44
|
-
"@iconify-json/codicon": "^1.2.
|
|
44
|
+
"@iconify-json/codicon": "^1.2.15",
|
|
45
45
|
"hast-util-from-html": "^2.0.3",
|
|
46
|
-
"typescript": "^5.8.
|
|
47
|
-
"@shikijs/twoslash": "3.
|
|
46
|
+
"typescript": "^5.8.3",
|
|
47
|
+
"@shikijs/twoslash": "3.3.0"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "unbuild",
|