apollo-server
apollo-server copied to clipboard
Update custom-scalars.mdx
value should be of type unknown instead of number with [email protected]:
Type '(value: number) => number' is not assignable to type 'GraphQLScalarValueParser<number>'.
Types of parameters 'value' and 'inputValue' are incompatible.
Type 'unknown' is not assignable to type 'number'.ts(2322)
definition.d.ts(365, 3): The expected type comes from property 'parseValue' which is declared here on type 'Readonly<GraphQLScalarTypeConfig<number, number>>'
@mx-bernhard: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/
Deploy request for apollo-server-docs pending review.
Visit the deploys page to approve it
| Name | Link |
|---|---|
| Latest commit | f9cd7106fbb4fe243ebb80ba30b131da17a5456a |
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.