eslint-plugin-markdown-preferences 0.35.0 → 0.36.1

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.
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import markdown from "@eslint/markdown";
1
+ import markdown, { MarkdownSourceCode } from "@eslint/markdown";
2
2
  import * as math from "mdast-util-math";
3
3
  import * as _eslint_core0 from "@eslint/core";
4
4
  import { File, Language, OkParseResult, ParseResult, RuleDefinition, SourceLocation } from "@eslint/core";
@@ -545,7 +545,7 @@ declare namespace meta_d_exports {
545
545
  export { name, version };
546
546
  }
547
547
  declare const name: "eslint-plugin-markdown-preferences";
548
- declare const version: "0.35.0";
548
+ declare const version: "0.36.1";
549
549
  //#endregion
550
550
  //#region src/language/ast-types.d.ts
551
551
  type Node = mdast.Node;
@@ -643,7 +643,7 @@ interface RootContentMap {
643
643
  }
644
644
  //#endregion
645
645
  //#region src/language/extended-markdown-language.d.ts
646
- type ExtendedMarkdownSourceCode = TextSourceCodeBase<{
646
+ interface ExtendedMarkdownSourceCode extends TextSourceCodeBase<{
647
647
  LangOptions: MarkdownLanguageOptions;
648
648
  RootNode: Root;
649
649
  SyntaxElementWithLoc: Node;
@@ -651,7 +651,10 @@ type ExtendedMarkdownSourceCode = TextSourceCodeBase<{
651
651
  value: string;
652
652
  position: SourceLocation;
653
653
  };
654
- }>;
654
+ }> {
655
+ getInlineConfigNodes(): ReturnType<MarkdownSourceCode["getInlineConfigNodes"]>;
656
+ getDisableDirectives(): ReturnType<MarkdownSourceCode["getDisableDirectives"]>;
657
+ }
655
658
  declare class ExtendedMarkdownLanguage implements Language {
656
659
  /**
657
660
  * The type of file to read.