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

Convert remaining files to TypeScript #658

Merged
merged 1 commit into from
Jul 7, 2020

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
package.json Outdated Show resolved Hide resolved
@danielrearden danielrearden force-pushed the convert-to-ts2 branch 6 times, most recently from 14b7164 to 59bd4f7 Compare July 5, 2020 08:56
examples/index.js Outdated Show resolved Hide resolved
resources/build.js Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
@danielrearden danielrearden force-pushed the convert-to-ts2 branch 4 times, most recently from 6e8662e to 920e614 Compare July 5, 2020 20:23
examples/index.ts Outdated Show resolved Hide resolved
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.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
PR: polish 💅 PR doesn't change public API or any observed behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants