**Reported by @yaacovCR in https://github.com/graphql/graphql-js/issues/2104#issuecomment-527296571** This line -- I think -- causes typescript to assume that a type that fails isSpecifiedScalarType test is actually not a GraphqlScalarType at all. https://github.com/graphql/graphql-js/blob/a482d3b24d7a6d4a8027614ab6304e980548e16f/tstypes/type/scalars.d.ts#L11