UNPKG
@types/graphql
Version:
latest (14.5.0)
ts2.0 (0.9.4)
ts2.1 (0.9.4)
ts2.2 (0.9.4)
ts2.3 (14.0.2)
ts2.4 (14.0.2)
ts2.5 (14.0.2)
ts2.6 (14.2.3)
ts2.7 (14.2.3)
ts2.8 (14.2.3)
ts2.9 (14.2.3)
ts3.0 (14.2.3)
ts3.1 (14.2.3)
ts3.2 (14.2.3)
ts3.3 (14.2.3)
ts3.4 (14.2.3)
ts3.5 (14.2.3)
ts3.6 (14.2.3)
14.5.0
14.2.3
14.2.2
14.2.1
14.2.0
14.0.7
14.0.6
14.0.5
14.0.4
14.0.3
14.0.2
14.0.1
14.0.0
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.7
0.12.6
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.8
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.2
0.10.1
0.10.0
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.3
0.7.2
0.7.1
TypeScript definitions for graphql
DefinitelyTyped/DefinitelyTyped
@types/graphql
/
error
/
printError.d.ts
8 lines
(6 loc)
•
237 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{ GraphQLError } from
"./GraphQLError"
;
/** * Prints a GraphQLError to a string, representing useful location information * about the error's position in the source. */
export
function
printError
(error: GraphQLError)
: string;