apollo-server/packages/apollo-server-micro/src
Jesse Rosenberger 0dfa8ed39b
(compat) Avoid TypeScript 3.x features to maintain backwards compatibility.
This mostly reverts fd34771841 along with a
number of slight adjustments to avoid other typing luxuries which were
introduced with TypeScript 3.x.

While the generic `ServerOptionFunction` types and `HandlerArguments`
generic rest argument type were certainly welcome additions to the codebase,
they present a backwards compatibility problem for consumers of Apollo
Server who have not yet made the jump to TypeScript 3.x.

With any luck, when we bump the major version of Apollo Server to 3.x, and
in accordance with semantic versioning, we'll be in the position to
straight-up revert this commit.
2018-11-05 05:24:32 -08:00
..
__tests__ Consistently leave out explicit tsconfig.json when referring to TypeScript project 2018-10-12 13:34:07 +02:00
ApolloServer.ts Avoid Function.prototype.bind when invoking createGraphQLServerOptions. 2018-10-30 12:34:43 +02:00
index.ts Fix and Export Extension and Playground Types (#1360) 2018-07-16 15:49:20 -07:00
microApollo.ts (compat) Avoid TypeScript 3.x features to maintain backwards compatibility. 2018-11-05 05:24:32 -08:00
types.ts Apollo Server 2 Micro integration (#1279) 2018-07-05 11:40:15 -07:00