mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-23 00:06:15 -04:00
fix(types): added missing typings
This commit is contained in:
parent
a8f9d7e555
commit
27f3826d5f
3 changed files with 5 additions and 5 deletions
|
@ -64,7 +64,7 @@ export default class TextStats extends Tool {
|
|||
}
|
||||
|
||||
get textSize() {
|
||||
return formatBytes(Uint8Array.from(this.text).buffer.byteLength, 3)
|
||||
return formatBytes(Uint8Array.from(this.text as unknown as ArrayLike<number>).buffer.byteLength, 3)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue