Closed useless-stuff closed 6 years ago
Generated files are with the single quote, this generates a TSlint error. https://palantir.github.io/tslint/rules/quotemark/ I guess that makes sense move the ignore rule to the top.
Or this.importHeader.push(`import { GraphQLResolveInfo, GraphQLScalarType } from "graphql";`); this.importHeader.push(`import { GraphQLResolveInfo } from "graphql";`);
this.importHeader.push(`import { GraphQLResolveInfo, GraphQLScalarType } from "graphql";`);
this.importHeader.push(`import { GraphQLResolveInfo } from "graphql";`);
I think moving ts-ignore to the top is better. Thank you for the fix :+1:
Generated files are with the single quote, this generates a TSlint error. https://palantir.github.io/tslint/rules/quotemark/ I guess that makes sense move the ignore rule to the top.
Or
this.importHeader.push(`import { GraphQLResolveInfo, GraphQLScalarType } from "graphql";`);
this.importHeader.push(`import { GraphQLResolveInfo } from "graphql";`);