I am starting an ApolloServer instance
const server = new ApolloServer({
typeDefs,
resolvers,
plugins: [ApolloServerPluginDrainHttpServer({ httpServer })],
});
in my code the "server" constant is underlined with the error "Unsafe assignment of 'any' value" @typescript-eslint/no-unsafe-assignment.
I don't understand this message, I would have thought that the type of the "server" constant is implied from the type of ApolloServer (which is shown when I mouse over). Am I missing something?