Closed polRk closed 1 year ago
for example, this cofiguration does not use import type
/** @type {import('@graphql-codegen/cli').CodegenConfig} */
const config = {
schema: '**/schema.graphql',
generates: {
'src/modules': {
preset,
plugins: [],
useTypeImports: true,
config: {
typesPluginsConfig: {
emitLegacyCommonJSImports: false,
useTypeImports: true,
},
},
},
},
}
Not working anything, cannot define typescript config