import { CodegenConfig } from '@graphql-codegen/cli'; const config: CodegenConfig = { schema: process.env.GRAPH_URL, documents: ['./graph/*.ts'], generates: { './graph/d.ts': { plugins: ['typescript', 'typescript-operations'] } } }; export default config;