You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using apollo-datasource-graphql, but I'm wondering if it would be possible to generate a @types/apollo-datasource-graphql so that I can fix the implicit-any error generated by TS?
Thanks!
The text was updated successfully, but these errors were encountered:
It looks like this was never done? Has this been resolved some other way that I'm not seeing? I make a quick check for the type definition files but as far as I can tell this is still needed? Or, perhaps better, exporting the types directly from the package somehow?
node_modules/apollo-server-core/dist/graphqlOptions.d.ts:20:5
20 dataSources?: () => DataSources<TContext>;
~~~~~~~~~~~
The expected type comes from property 'dataSources' which is declared here on type 'ApolloServerExpressConfig & { cors?: boolean | CorsOptions | undefined; onHealthCheck?: ((req: Request<ParamsDictionary, any, any, ParsedQs, Record<...>>) => Promise<...>) | undefined; healthCheckPath?: string | ... 1 more ... | undefined; stopGracePeriodMillis?: number | undefined; }'
Hi,
I'm using
apollo-datasource-graphql
, but I'm wondering if it would be possible to generate a@types/apollo-datasource-graphql
so that I can fix theimplicit-any
error generated by TS?Thanks!
The text was updated successfully, but these errors were encountered: