swagger-to-graphql icon indicating copy to clipboard operation
swagger-to-graphql copied to clipboard

Compile error @typeMap.ts

Open Aemilivs opened this issue 4 years ago • 0 comments

{
	"resource": "/C:/Users/User/Documents/Sources/swagger-to-graphql/src/typeMap.ts",
	"owner": "typescript",
	"code": "2322",
	"severity": 8,
	"message": "Type '() => string' is not assignable to type 'GraphQLInputFieldConfigMap | (() => GraphQLInputFieldConfigMap) | GraphQLFieldConfigMap<any, any, { [key: string]: any; }> | (() => GraphQLFieldConfigMap<...>)'.\n  Type '() => string' is not assignable to type '() => GraphQLInputFieldConfigMap'.\n    Type 'string' is not assignable to type 'GraphQLInputFieldConfigMap'.",
	"source": "ts",
	"startLineNumber": 130,
	"startColumn": 3,
	"endLineNumber": 167,
	"endColumn": 5
}

Aemilivs avatar Dec 26 '20 19:12 Aemilivs