Skip to content

Commit

Permalink
Fixed typo in error string.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jun 29, 2020
1 parent 9e14345 commit 7fe702d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bignumber/src.ts/fixednumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class FixedFormat {

constructor(constructorGuard: any, signed: boolean, width: number, decimals: number) {
if (constructorGuard !== _constructorGuard) {
logger.throwError("cannot use FixedFormat construtor; use FixedFormat.from", Logger.errors.UNSUPPORTED_OPERATION, {
logger.throwError("cannot use FixedFormat constructor; use FixedFormat.from", Logger.errors.UNSUPPORTED_OPERATION, {
operation: "new FixedFormat"
});
}
Expand Down Expand Up @@ -192,7 +192,7 @@ export class FixedNumber {
logger.checkNew(new.target, FixedNumber);

if (constructorGuard !== _constructorGuard) {
logger.throwError("cannot use FixedNumber construtor; use FixedNumber.from", Logger.errors.UNSUPPORTED_OPERATION, {
logger.throwError("cannot use FixedNumber constructor; use FixedNumber.from", Logger.errors.UNSUPPORTED_OPERATION, {
operation: "new FixedFormat"
});
}
Expand Down

0 comments on commit 7fe702d

Please sign in to comment.