Skip to content

Commit 5eecef2

Browse files
Remove trailing spaces from 'Int' and 'Float' descriptions (#1920)
1 parent e1225a0 commit 5eecef2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/type/scalars.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const GraphQLInt = new GraphQLScalarType({
6262
name: 'Int',
6363
description:
6464
'The `Int` scalar type represents non-fractional signed whole numeric ' +
65-
'values. Int can represent values between -(2^31) and 2^31 - 1. ',
65+
'values. Int can represent values between -(2^31) and 2^31 - 1.',
6666
serialize: serializeInt,
6767
parseValue: coerceInt,
6868
parseLiteral(ast) {
@@ -107,7 +107,7 @@ export const GraphQLFloat = new GraphQLScalarType({
107107
description:
108108
'The `Float` scalar type represents signed double-precision fractional ' +
109109
'values as specified by ' +
110-
'[IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point). ',
110+
'[IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).',
111111
serialize: serializeFloat,
112112
parseValue: coerceFloat,
113113
parseLiteral(ast) {

0 commit comments

Comments
 (0)