Merge pull request #35 from vgcman16/codex/refactor-imports-for-unistnode-and-unistparent

Fix unist type import
This commit is contained in:
vgcman16 2025-06-05 21:27:47 -05:00 committed by GitHub
commit 7388086c71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,7 @@ import remarkGfm from 'remark-gfm';
import type { PluggableList, Plugin } from 'unified';
import rehypeSanitize, { defaultSchema, type Options as RehypeSanitizeOptions } from 'rehype-sanitize';
import { SKIP, visit } from 'unist-util-visit';
import type { UnistNode, UnistParent } from 'node_modules/unist-util-visit/lib';
import type { Node as UnistNode, Parent as UnistParent } from 'unist';
export const allowedHTMLElements = [
'a',