Add @typescript-eslint/no-base-to-string (#10091)

This commit is contained in:
Michael Telatynski
2023-02-07 10:08:10 +00:00
committed by GitHub
parent 30cc55515e
commit 35d222bac6
10 changed files with 28 additions and 14 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ export function presentableTextForFile(
// it since it is "ugly", users generally aren't aware what it
// means and the type of the attachment can usually be inferred
// from the file extension.
text += " (" + filesize(content.info.size) + ")";
text += " (" + <string>filesize(content.info.size) + ")";
}
return text;
}