diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index c83b8f81..cf2074dc 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -29,12 +29,12 @@ export * from '@shikijs/types' // Deprecated export { - /** - * @deprecated Use `EncodedTokenMetadata` from `@shikijs/vscode-textmate` instead. - */ - EncodedTokenMetadata as StackElementMetadata, /** * @deprecated Import `FontStyle` from `@shikijs/vscode-textmate` instead. */ FontStyle, + /** + * @deprecated Use `EncodedTokenMetadata` from `@shikijs/vscode-textmate` instead. + */ + EncodedTokenMetadata as StackElementMetadata, } from '@shikijs/vscode-textmate' diff --git a/packages/shiki/test/bundle.test.ts b/packages/shiki/test/bundle.test.ts index dc8abac6..9958578b 100644 --- a/packages/shiki/test/bundle.test.ts +++ b/packages/shiki/test/bundle.test.ts @@ -7,7 +7,7 @@ it('bundle-full', async () => { })) expect(highlighter.getLoadedLanguages().length) - .toMatchInlineSnapshot(`313`) + .toMatchInlineSnapshot(`319`) }) it('bundle-web', async () => {