@beamf/graphql-schema-typescript
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -206,3 +206,5 @@ "use strict"; | ||
if (gqlType.kind === 'OBJECT') { | ||
(_b = this.allResolversInterface).push.apply(_b, [gqlType.name + "?: " + typeResolverName]); | ||
// TODO: Once we generate the models (and thus parent-types) | ||
// change this from any to the expected parent type | ||
(_b = this.allResolversInterface).push.apply(_b, [gqlType.name + "?: " + typeResolverName + "<any>"]); | ||
} | ||
@@ -209,0 +211,0 @@ var _a, _b; |
{ | ||
"name": "@beamf/graphql-schema-typescript", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Generate TypeScript from GraphQL's schema type definitions", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
227783
6322