Fix tons of typos

This commit is contained in:
Olivier Gagnon
2022-10-09 01:25:31 -04:00
parent f8a3a046de
commit f6f023eeb4
110 changed files with 212 additions and 207 deletions
+1 -1
View File
@@ -34,6 +34,6 @@ export function createProgressBarText(params: IProgressBarConfiguration): string
const bars: number = Math.max(Math.floor(derived.progress / (1 / derived.totalTicks)), 1);
const dashes: number = Math.max(derived.totalTicks - bars, 0);
// String.prototype.repeat isn't completley supported, but good enough for our purposes
// String.prototype.repeat isn't completely supported, but good enough for our purposes
return `[${"|".repeat(bars)}${"-".repeat(dashes)}]`;
}
+1 -1
View File
@@ -11,7 +11,7 @@ export function isPowerOfTwo(n: number): boolean {
return false;
}
// Disabiling the bitwise rule because it's honestly the most effecient way to check for this.
// Disabling the bitwise rule because it's honestly the most efficient way to check for this.
// tslint:disable-next-line:no-bitwise
return (n & (n - 1)) === 0;
}