Skip to content

Commit 3505baa

Browse files
committed
Remove hack whilst waiting for plugin-helpers
1 parent c77c354 commit 3505baa

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

packages/typescript-resolver-files/src/defineConfig.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,10 @@ import type { Types } from '@graphql-codegen/plugin-helpers';
33
import type { TypedPresetConfig } from './validatePresetConfig';
44
import { preset } from './preset';
55

6-
// TODO: remove this once new @graphql-codegen/plugin-helpers is released
7-
type ConfigWatchPattern = {
8-
watchPattern?: string | string[];
9-
};
10-
116
export const defineConfig = (
127
presetConfig: TypedPresetConfig = {},
138
context: { baseOutputDir: string } = { baseOutputDir: '' }
14-
): Pick<Types.ConfiguredOutput, 'preset' | 'presetConfig'> &
15-
ConfigWatchPattern => {
9+
): Pick<Types.ConfiguredOutput, 'preset' | 'presetConfig' | 'watchPattern'> => {
1610
const { baseOutputDir } = context;
1711

1812
const mappersFileExtension =

0 commit comments

Comments
 (0)