Skip to content

Commit

Permalink
Fix types, lints in example
Browse files Browse the repository at this point in the history
Closes GH-2518

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
karlhorky authored Jul 23, 2024
1 parent 37318de commit f864886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```
</details>
Expand Down

0 comments on commit f864886

Please sign in to comment.