Skip to content

Commit

Permalink
Revert "fix: type error in options parameter of mdxOptions (#219)"
Browse files Browse the repository at this point in the history
This reverts commit 844ea8a.
  • Loading branch information
kentcdodds committed Jan 16, 2024
1 parent 844ea8a commit 77cd7a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

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

0 comments on commit 77cd7a8

Please sign in to comment.