Skip to content

Commit

Permalink
refactor: import MapFunction type from unist-util-map/complex-types
Browse files Browse the repository at this point in the history
  • Loading branch information
IGassmann committed Sep 26, 2022
1 parent 53b7685 commit 04d7d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { map } from 'unist-util-map'

import type { Directive as DirectiveNode } from 'mdast-util-directive';
import type { Plugin, Transformer } from 'unified';
import type { MapFunction } from 'unist-util-map'
import type { MapFunction } from 'unist-util-map/complex-types'
import type { Node } from 'unist'

const isDirectiveNode = (node: Node): node is DirectiveNode => {
Expand Down

0 comments on commit 04d7d20

Please sign in to comment.