Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Conversation

@danielrearden
Copy link
Collaborator

No description provided.

@danielrearden danielrearden force-pushed the convert-to-ts2 branch 7 times, most recently from c4e19fb to b8fb28b Compare July 4, 2020 00:02
@danielrearden danielrearden marked this pull request as ready for review July 4, 2020 00:02
@danielrearden danielrearden force-pushed the convert-to-ts2 branch 6 times, most recently from 14b7164 to 59bd4f7 Compare July 5, 2020 08:56
@danielrearden danielrearden force-pushed the convert-to-ts2 branch 4 times, most recently from 6e8662e to 920e614 Compare July 5, 2020 20:23
src/index.ts Outdated
let formatErrorFn = formatError;
let formatErrorFn: (
error: GraphQLError,
) => GraphQLFormattedError = formatError;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can it be typeof formatError?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Actually, let formatErrorFn = formatError is sufficient now. Had to specify the type before only because of differences in the return types.

@IvanGoncharov IvanGoncharov added the PR: polish 💅 PR doesn't change public API or any observed behaviour label Jul 7, 2020
@IvanGoncharov IvanGoncharov merged commit 34ef31d into graphql:master Jul 7, 2020
junminstorage pushed a commit to junminstorage/express-graphql that referenced this pull request Aug 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

PR: polish 💅 PR doesn't change public API or any observed behaviour

2 participants