Skip to content

Commit

Permalink
refactor: import MapFunction type from root of package
Browse files Browse the repository at this point in the history
  • Loading branch information
IGassmann committed Sep 29, 2022
1 parent 40f1b07 commit e30fcb3
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/complex-types'
import type { MapFunction } from 'unist-util-map'
import type { Node } from 'unist'

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

0 comments on commit e30fcb3

Please sign in to comment.