You've already forked joplin
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user