@bhsd/codemirror-mediawiki 2.19.6 → 2.19.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,6 +8,12 @@ import { MediaWiki } from './token';
8
8
  import type { StreamParser, TagStyle } from '@codemirror/language';
9
9
  import type { CompletionSource, Completion } from '@codemirror/autocomplete';
10
10
  import type { MwConfig } from './token';
11
+ /**
12
+ * 判断节点是否包含指定类型
13
+ * @param types 节点类型
14
+ * @param names 指定类型
15
+ */
16
+ export declare const hasTag: (types: Set<string>, names: string | string[]) => boolean;
11
17
  export declare class FullMediaWiki extends MediaWiki {
12
18
  #private;
13
19
  readonly nsRegex: RegExp;