Skip to content

Commit ffa3428

Browse files
authoredAug 31, 2021
feat(typescript): expose type property for errors in graphql response errors (#314)
1 parent ca195a8 commit ffa3428

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/types.ts

+2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ export type GraphQlQueryResponse<ResponseData> = {
5656
data: ResponseData;
5757
errors?: [
5858
{
59+
// https://github.com/octokit/graphql.js/pull/314
60+
type: string;
5961
message: string;
6062
path: [string];
6163
extensions: { [key: string]: any };

0 commit comments

Comments
 (0)
Please sign in to comment.