Skip to content

Commit 62efb56

Browse files
SekibOmazicrkirov
authored andcommitted
fix(lang): fix small typo.
1 parent 398571e commit 62efb56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/facade/src/lang.es6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class StringJoiner {
6868
}
6969
}
7070

71-
export class NumerParseError extends Error {
71+
export class NumberParseError extends Error {
7272
constructor(message) {
7373
this.message = message;
7474
}
@@ -83,7 +83,7 @@ export class NumberWrapper {
8383
static parseIntAutoRadix(text:string):int {
8484
var result:int = parseInt(text);
8585
if (isNaN(result)) {
86-
throw new NumerParseError("Invalid integer literal when parsing " + text);
86+
throw new NumberParseError("Invalid integer literal when parsing " + text);
8787
}
8888
return result;
8989
}
@@ -103,7 +103,7 @@ export class NumberWrapper {
103103
return result;
104104
}
105105
}
106-
throw new NumerParseError("Invalid integer literal when parsing " + text + " in base " + radix);
106+
throw new NumberParseError("Invalid integer literal when parsing " + text + " in base " + radix);
107107
}
108108

109109
// TODO: NaN is a valid literal but is returned by parseFloat to indicate an error.

0 commit comments

Comments
 (0)