fix(core): update

This commit is contained in:
Philipp Kunz 2020-06-16 15:17:46 +00:00
parent 82cc8c29e1
commit 9d9f67c91a

View File

@ -3,7 +3,7 @@ import * as plugins from './typedrequest.plugins';
export class TypedResponseError {
public errorText: string;
public errorData: any;
constructor(errorTextArg: string, errorDataArg: any) {
constructor(errorTextArg: string, errorDataArg?: any) {
this.errorText = errorTextArg;
this.errorData = errorDataArg;
}