Add @typescript-eslint/no-base-to-string (#10091)
This commit is contained in:
parent
30cc55515e
commit
35d222bac6
10 changed files with 28 additions and 14 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue