File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import remarkFrontmatter from 'remark-frontmatter'
16
16
import remarkMdxFrontmatter from 'remark-mdx-frontmatter'
17
17
import { rehypePrettyCode , type Options as rehypePrettyCodeOptionsType } from 'rehype-pretty-code'
18
18
import { transformerNotationDiff } from '@shikijs/transformers'
19
- import type { ShikiTransformer } from 'shiki'
20
19
import { NextConfig } from 'next'
21
20
22
21
const nextConfig = ( phase : string ) => {
@@ -43,7 +42,7 @@ const nextConfig = (phase: string) => {
43
42
block : 'tsx' ,
44
43
inline : 'shell' ,
45
44
} ,
46
- transformers : [ transformerNotationDiff ( ) as ShikiTransformer ] ,
45
+ transformers : [ transformerNotationDiff ( ) ] ,
47
46
}
48
47
49
48
// https://github.com/chrisweb/remark-table-of-contents#options
You can’t perform that action at this time.
0 commit comments