We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c77c354 commit 3505baaCopy full SHA for 3505baa
1 file changed
packages/typescript-resolver-files/src/defineConfig.ts
@@ -3,16 +3,10 @@ import type { Types } from '@graphql-codegen/plugin-helpers';
3
import type { TypedPresetConfig } from './validatePresetConfig';
4
import { preset } from './preset';
5
6
-// TODO: remove this once new @graphql-codegen/plugin-helpers is released
7
-type ConfigWatchPattern = {
8
- watchPattern?: string | string[];
9
-};
10
-
11
export const defineConfig = (
12
presetConfig: TypedPresetConfig = {},
13
context: { baseOutputDir: string } = { baseOutputDir: '' }
14
-): Pick<Types.ConfiguredOutput, 'preset' | 'presetConfig'> &
15
- ConfigWatchPattern => {
+): Pick<Types.ConfiguredOutput, 'preset' | 'presetConfig' | 'watchPattern'> => {
16
const { baseOutputDir } = context;
17
18
const mappersFileExtension =
0 commit comments