Skip to content

Commit

Permalink
Remove obsolete 'undefined' from optional property
Browse files Browse the repository at this point in the history
  • Loading branch information
timonson committed Sep 20, 2021
1 parent ab98843 commit 6120129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import type { JsonValue, RpcId } from "../json_rpc_types.ts";

export class BadServerDataError extends Error {
id: RpcId;
code?: number | undefined;
data?: JsonValue | undefined;
code?: number;
data?: JsonValue;
constructor(
id: RpcId,
message: string,
Expand Down

0 comments on commit 6120129

Please sign in to comment.