diff --git a/src/type/definition.ts b/src/type/definition.ts index c9375b5f1b..ca75938263 100644 --- a/src/type/definition.ts +++ b/src/type/definition.ts @@ -785,9 +785,9 @@ export interface GraphQLScalarTypeConfig { /** Parses an externally provided literal value to use as an input. */ /** @deprecated use `replaceVariables()` and `coerceInputLiteral()` instead, `parseLiteral()` will be removed in v18 */ parseLiteral?: GraphQLScalarLiteralParser | undefined; - /** Coerces an externally provided value to use as an input. */ - coerceOutputValue?: GraphQLScalarOutputValueCoercer | undefined; /** Coerces an internal value to include in a response. */ + coerceOutputValue?: GraphQLScalarOutputValueCoercer | undefined; + /** Coerces an externally provided value to use as an input. */ coerceInputValue?: GraphQLScalarInputValueCoercer | undefined; /** Coerces an externally provided const literal value to use as an input. */ coerceInputLiteral?: GraphQLScalarInputLiteralCoercer | undefined;