rn-shiki 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/types/shiki.d.ts +4 -3
package/package.json
CHANGED
package/src/types/shiki.d.ts
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
declare module '*/vendor/shiki/core/core' {
|
2
|
-
|
3
|
-
}
|
2
|
+
import type { LanguageInput, ThemeInput } from 'shiki'
|
4
3
|
|
4
|
+
export function createHighlighterCore(options: { engine: any, langs: LanguageInput[], themes: ThemeInput[] }): any
|
5
|
+
}
|
5
6
|
declare module '*/vendor/shiki/core/engine-javascript' {
|
6
|
-
export
|
7
|
+
export function createJavaScriptRegexEngine(): any
|
7
8
|
}
|