Skip to content

Commit dae6bc3

Browse files
committed
Update internal types for TS 4.9
1 parent 38c2d46 commit dae6bc3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/mdx/lib/plugin/recma-stringify.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {toJs, jsx} from 'estree-util-to-js'
1414
* A plugin that adds an esast compiler: a small wrapper around `astring` to add
1515
* support for serializing JSX.
1616
*
17+
* @this {import('unified').Processor}
1718
* @type {import('unified').Plugin<[RecmaStringifyOptions]|[], Program, string>}
1819
*/
1920
export function recmaStringify(options = {}) {

packages/remark-mdx/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {mdxFromMarkdown, mdxToMarkdown} from 'mdast-util-mdx'
1414
* Plugin to support MDX (import/exports: `export {x} from 'y'`; expressions:
1515
* `{1 + 1}`; and JSX: `<Video id={123} />`).
1616
*
17+
* @this {import('unified').Processor}
1718
* @type {import('unified').Plugin<[Options?]|Array<void>, Root>}
1819
*/
1920
export default function remarkMdx(options = {}) {

0 commit comments

Comments
 (0)