Skip to content

Commit 77cd7a8

Browse files
committed
Revert "fix: type error in options parameter of mdxOptions (#219)"
This reverts commit 844ea8a.
1 parent 844ea8a commit 77cd7a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/types.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import type {Plugin, BuildOptions, Loader} from 'esbuild'
88
import type {ModuleInfo} from '@fal-works/esbuild-plugin-global-externals'
9-
import type {Options} from '@mdx-js/esbuild/lib'
9+
import type {ProcessorOptions} from '@mdx-js/esbuild/lib'
1010
import type {GrayMatterOption, Input, GrayMatterFile} from 'gray-matter'
1111
import type {MDXComponents} from 'mdx/types'
1212
import type {VFile,VFileOptions} from 'vfile'
@@ -88,9 +88,9 @@ type BundleMDXOptions<Frontmatter> = {
8888
* ```
8989
*/
9090
mdxOptions?: (
91-
options: Options,
91+
options: ProcessorOptions,
9292
frontmatter: Frontmatter,
93-
) => Options
93+
) => ProcessorOptions
9494
/**
9595
* This allows you to modify the built-in esbuild configuration. This can be
9696
* especially helpful for specifying the compilation target.

0 commit comments

Comments
 (0)