atlasgql
Version:
A self-composing GraphQL server library using TypeScript, Express and Apollo Server
16 lines (15 loc) • 316 B
TypeScript
import { Context } from '../graphqlServer';
declare const defaultContext: ({ req, res }: {
req: any;
res: any;
}) => {
cookie: any;
};
declare const compose: (context: Context) => (args: {
req: unknown;
res: unknown;
}) => {
cookie: any;
};
export default defaultContext;
export { compose };