1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Tools: Apply rule @typescript-eslint/ban-types

This commit is contained in:
Laurent Cozic
2023-06-30 10:30:29 +01:00
parent 48ef6db4a5
commit dd6eec6a03
153 changed files with 296 additions and 9 deletions

View File

@@ -52,6 +52,7 @@ class HtmlUtils {
return output.join(' ');
}
// eslint-disable-next-line @typescript-eslint/ban-types -- Old code before rule was applied
public processImageTags(html: string, callback: Function) {
if (!html) return '';
@@ -77,6 +78,7 @@ class HtmlUtils {
});
}
// eslint-disable-next-line @typescript-eslint/ban-types -- Old code before rule was applied
public processAnchorTags(html: string, callback: Function) {
if (!html) return '';