fix: remove unusued type
This commit is contained in:
parent
4afa8f58b9
commit
7fec1f0543
|
@ -1,10 +1,5 @@
|
||||||
// Copied from https://github.com/hustcc/filesize.js
|
// Copied from https://github.com/hustcc/filesize.js
|
||||||
|
|
||||||
type SPEC = {
|
|
||||||
readonly radix: number;
|
|
||||||
readonly unit: string[];
|
|
||||||
};
|
|
||||||
|
|
||||||
const si = {
|
const si = {
|
||||||
radix: 1e3,
|
radix: 1e3,
|
||||||
unit: ["b", "kb", "Mb", "Gb", "Tb", "Pb", "Eb", "Zb", "Yb"],
|
unit: ["b", "kb", "Mb", "Gb", "Tb", "Pb", "Eb", "Zb", "Yb"],
|
||||||
|
|
Loading…
Reference in New Issue