Skip to content

Commit

Permalink
Update internal types for TS 4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Dec 8, 2022
1 parent 38c2d46 commit dae6bc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/mdx/lib/plugin/recma-stringify.js
Expand Up @@ -14,6 +14,7 @@ import {toJs, jsx} from 'estree-util-to-js'
* A plugin that adds an esast compiler: a small wrapper around `astring` to add
* support for serializing JSX.
*
* @this {import('unified').Processor}
* @type {import('unified').Plugin<[RecmaStringifyOptions]|[], Program, string>}
*/
export function recmaStringify(options = {}) {
Expand Down
1 change: 1 addition & 0 deletions packages/remark-mdx/index.js
Expand Up @@ -14,6 +14,7 @@ import {mdxFromMarkdown, mdxToMarkdown} from 'mdast-util-mdx'
* Plugin to support MDX (import/exports: `export {x} from 'y'`; expressions:
* `{1 + 1}`; and JSX: `<Video id={123} />`).
*
* @this {import('unified').Processor}
* @type {import('unified').Plugin<[Options?]|Array<void>, Root>}
*/
export default function remarkMdx(options = {}) {
Expand Down

0 comments on commit dae6bc3

Please sign in to comment.