Skip to content

Commit c248efe

Browse files
authored
Add IE11 support [SDK-2629] (#432)
1 parent 594d752 commit c248efe

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/errors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class AccessTokenError extends Error {
99
public code: string;
1010

1111
constructor(code: string, message: string) {
12-
super(message);
12+
super(message) /* istanbul ignore next */;
1313

1414
// Saving class name in the property of our custom error as a shortcut.
1515
this.name = this.constructor.name;
@@ -49,7 +49,7 @@ export class HandlerError extends Error {
4949
public code: string | undefined;
5050

5151
constructor(error: Error | AccessTokenError | HttpError) {
52-
super(htmlSafe(error.message));
52+
super(htmlSafe(error.message)) /* istanbul ignore next */;
5353

5454
this.name = error.name;
5555

tsconfig.build.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"noUnusedParameters": true,
1717
"sourceMap": true,
1818
"strict": true,
19-
"target": "es6",
19+
"target": "es5",
20+
"lib": ["es6", "dom"],
21+
"downlevelIteration": true,
2022
"resolveJsonModule": true,
2123
"jsx": "react",
2224
"outDir": "./dist",

0 commit comments

Comments
 (0)