@shikijs/vitepress-twoslash 3.1.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/cache-fs.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as TwoslashTypesCache } from './shared/vitepress-twoslash.
|
|
1
|
+
import { b as TwoslashTypesCache } from './shared/vitepress-twoslash.C7bG08Jx.mjs';
|
|
2
2
|
import '@shikijs/twoslash/core';
|
|
3
3
|
import 'twoslash';
|
|
4
4
|
import 'twoslash-vue';
|
|
@@ -14,4 +14,5 @@ interface FileSystemTypeResultCacheOptions {
|
|
|
14
14
|
}
|
|
15
15
|
declare function createFileSystemTypesCache(options?: FileSystemTypeResultCacheOptions): TwoslashTypesCache;
|
|
16
16
|
|
|
17
|
-
export {
|
|
17
|
+
export { createFileSystemTypesCache };
|
|
18
|
+
export type { FileSystemTypeResultCacheOptions };
|
package/dist/client.d.mts
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ShikiTransformer } from 'shiki';
|
|
2
|
-
import { V as VitePressPluginTwoslashOptions } from './shared/vitepress-twoslash.
|
|
3
|
-
export { T as TwoslashFloatingVueOptions, a as TwoslashFloatingVueRendererOptions, b as TwoslashTypesCache, r as rendererFloatingVue } from './shared/vitepress-twoslash.
|
|
2
|
+
import { V as VitePressPluginTwoslashOptions } from './shared/vitepress-twoslash.C7bG08Jx.mjs';
|
|
3
|
+
export { T as TwoslashFloatingVueOptions, a as TwoslashFloatingVueRendererOptions, b as TwoslashTypesCache, r as rendererFloatingVue } from './shared/vitepress-twoslash.C7bG08Jx.mjs';
|
|
4
4
|
export { defaultHoverInfoProcessor } from '@shikijs/twoslash';
|
|
5
5
|
import '@shikijs/twoslash/core';
|
|
6
6
|
import 'twoslash';
|
|
@@ -66,4 +66,5 @@ interface TwoslashTypesCache {
|
|
|
66
66
|
init?: () => void;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { rendererFloatingVue as r };
|
|
70
|
+
export type { TwoslashFloatingVueOptions as T, VitePressPluginTwoslashOptions as V, TwoslashFloatingVueRendererOptions as a, TwoslashTypesCache as b };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shikijs/vitepress-twoslash",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.2.2",
|
|
5
5
|
"description": "Enable Twoslash support in VitePress",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"twoslash": "^0.3.1",
|
|
42
42
|
"twoslash-vue": "^0.3.1",
|
|
43
43
|
"vue": "^3.5.13",
|
|
44
|
-
"shiki": "3.
|
|
44
|
+
"shiki": "3.2.2"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "unbuild",
|