Skip to content

Commit a354487

Browse files
committed
ErrorInfo optional fields
1 parent 1ea7a07 commit a354487

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ export interface ErrorInfo {
1818
message: string;
1919
name: string;
2020
time_thrown: string;
21-
data: string;
22-
path: string;
23-
locations: string;
21+
data?: string;
22+
path?: string;
23+
locations?: string;
2424
}
2525

2626
export class ApolloError extends ExtendableError {

0 commit comments

Comments
 (0)