@shikijs/types 3.17.0 → 3.18.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +4 -0
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -766,6 +766,10 @@ interface ShikiInternal<BundledLangKeys extends string = never, BundledThemeKeys
766
766
  theme: ThemeRegistrationResolved;
767
767
  colorMap: string[];
768
768
  };
769
+ /**
770
+ * Resolve a language alias
771
+ */
772
+ resolveLangAlias: (lang: string) => string;
769
773
  /**
770
774
  * Get the names of loaded languages
771
775
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/types",
3
3
  "type": "module",
4
- "version": "3.17.0",
4
+ "version": "3.18.0",
5
5
  "description": "Type definitions for Shiki",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",