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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 28 additions and 14 deletions

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;
}