mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
Add typings for Rule object to all Rule samples and examples.
This commit is contained in:
parent
cdc30b1279
commit
c287e49eac
11 changed files with 34 additions and 9 deletions
|
@ -109,7 +109,7 @@ markdownlint(options, assertLintResultsCallback);
|
|||
assertLintResultsCallback(null, await markdownlint.promises.markdownlint(options));
|
||||
})();
|
||||
|
||||
const testRule = {
|
||||
const testRule: markdownlint.Rule = {
|
||||
"names": [ "test-rule" ],
|
||||
"description": "Test rule",
|
||||
"information": new URL("https://example.com/rule-information"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue