Skip to content

Commit

Permalink
Correctly type this in remarkAbbr
Browse files Browse the repository at this point in the history
  • Loading branch information
richardTowers committed Sep 13, 2024
1 parent 96c0740 commit 998d930
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @import { Processor } from "unified" */
import {abbr} from './lib/micromark-extension-abbr/syntax.js'
import {abbrFromMarkdown} from './lib/mdast-util-abbr/index.js'

Expand All @@ -7,7 +8,7 @@ export {
} from './lib/micromark-extension-abbr/syntax.js'
export {abbrFromMarkdown as mdastUtilAbbrFromMarkdown} from './lib/mdast-util-abbr/index.js'

/** @this {any} */
/** @this {Processor} */
export default function remarkAbbr() {
const self = this
const data = self.data()
Expand Down

0 comments on commit 998d930

Please sign in to comment.