Skip to content

TS: isSpecifiedScalarType incorrectly refines type #2153

Closed
@IvanGoncharov

Description

@IvanGoncharov

Reported by @yaacovCR in #2104 (comment)

This line -- I think -- causes typescript to assume that a type that fails isSpecifiedScalarType test is actually not a GraphqlScalarType at all.

export function isSpecifiedScalarType(type: any): type is GraphQLScalarType;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions