Skip to content

Commit

Permalink
Add IE11 support [SDK-2629] (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket authored Jun 29, 2021
1 parent 594d752 commit c248efe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/utils/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class AccessTokenError extends Error {
public code: string;

constructor(code: string, message: string) {
super(message);
super(message) /* istanbul ignore next */;

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

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

this.name = error.name;

Expand Down
4 changes: 3 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"noUnusedParameters": true,
"sourceMap": true,
"strict": true,
"target": "es6",
"target": "es5",
"lib": ["es6", "dom"],
"downlevelIteration": true,
"resolveJsonModule": true,
"jsx": "react",
"outDir": "./dist",
Expand Down

0 comments on commit c248efe

Please sign in to comment.