diff --git a/docs/docs/getting-started.mdx b/docs/docs/getting-started.mdx index 3d5d1eceb..9aecc61d4 100644 --- a/docs/docs/getting-started.mdx +++ b/docs/docs/getting-started.mdx @@ -815,10 +815,10 @@ MDX files can be imported in [Bun][] by using ``` ```js twoslash path="bun-mdx.ts" - import {plugin} from 'bun' import mdx from '@mdx-js/esbuild' + import {type BunPlugin, plugin} from 'bun' - plugin(mdx()) + await plugin(mdx() as unknown as BunPlugin) ```