Skip to content

Commit d7e2cbb

Browse files
Cleanup
1 parent 3053029 commit d7e2cbb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.yarn/install-state.gz

79 Bytes
Binary file not shown.

packages/mdx/src/plugins/rehype/rehypeSyntaxHighlighting.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
import { Element, Root } from 'hast';
1+
import type { Element, Root } from 'hast';
22
import { toString } from 'hast-util-to-string';
33
import {
44
createHighlighter,
55
type Highlighter,
66
type BuiltinTheme,
7-
BundledTheme,
8-
BundledLanguage,
7+
type BundledTheme,
8+
type BundledLanguage,
99
} from 'shiki';
10-
import { Plugin } from 'unified';
10+
import type { Plugin } from 'unified';
1111
import { visit } from 'unist-util-visit';
1212

1313
import {
1414
BASE_LANGUAGES,
1515
DEFAULT_LANG_ALIASES,
16-
ShikiLang,
1716
UNIQUE_LANGS,
17+
type ShikiLang,
1818
} from './shiki-constants.js';
1919

2020
const shikiColorReplacements: Partial<Record<BundledTheme, string | Record<string, string>>> = {

0 commit comments

Comments
 (0)