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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rn-shiki",
3
3
  "type": "module",
4
- "version": "0.0.13",
4
+ "version": "0.0.14",
5
5
  "description": "Shiki syntax highlighter for React Native.",
6
6
  "author": "Ryan Skinner <hello@ryanskinner.com>",
7
7
  "license": "MIT",
@@ -1,7 +1,8 @@
1
1
  declare module '*/vendor/shiki/core/core' {
2
- export * from 'shiki/core'
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 * from 'shiki/engine/javascript'
7
+ export function createJavaScriptRegexEngine(): any
7
8
  }