1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Tools: Add eslint rule @typescript-eslint/array-type

This commit is contained in:
Laurent Cozic
2023-06-30 09:16:08 +01:00
parent e89b59be8e
commit c6a15b3186
8 changed files with 8 additions and 7 deletions

View File

@@ -69,7 +69,7 @@ const markdownUtils = {
},
// Returns the **encoded** URLs, so to be useful they should be decoded again before use.
extractFileUrls(md: string, onlyType: string = null): Array<string> {
extractFileUrls(md: string, onlyType: string = null): string[] {
const markdownIt = new MarkdownIt();
markdownIt.validateLink = validateLinks; // Necessary to support file:/// links