From e30fcb332af686d9615da3c85eef1b578c4c099f Mon Sep 17 00:00:00 2001 From: Igor Gassmann Date: Thu, 29 Sep 2022 08:18:39 +0300 Subject: [PATCH] refactor: import MapFunction type from root of package --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 871e45a..301444f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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 => {