From 46fd62d3e73a789c435e2c77b505a0a40a874ede Mon Sep 17 00:00:00 2001 From: JounQin Date: Sat, 14 May 2022 22:41:22 +0800 Subject: [PATCH] chore: use Root from mdast directly --- packages/eslint-mdx/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-mdx/src/types.ts b/packages/eslint-mdx/src/types.ts index 078fb5e7..fca72435 100644 --- a/packages/eslint-mdx/src/types.ts +++ b/packages/eslint-mdx/src/types.ts @@ -1,7 +1,7 @@ import type { Position } from 'acorn' import type { AST, Linter } from 'eslint' import type { Program } from 'estree' -import type { Root } from 'remark-mdx' +import type { Root } from 'mdast' import type { Plugin } from 'unified' import type { VFileOptions } from 'vfile' import type { VFileMessage } from 'vfile-message'