Skip to content

Commit

Permalink
chore: code golf
Browse files Browse the repository at this point in the history
  • Loading branch information
iamchanii committed Jun 22, 2023
1 parent b120fa7 commit 2615162
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions src/global-types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { FieldKind, FieldRef, InputFieldMap, SchemaTypes, TypeParam } from '@pothos/core';
import type { FieldKind, SchemaTypes } from '@pothos/core';

import type { PothosEffectPlugin } from './index.js';
import type * as PothosEffectPluginTypes from './types.js';
Expand All @@ -16,25 +16,6 @@ declare global {
Kind extends FieldKind = FieldKind,
> {
effect: PothosEffectPluginTypes.EffectField<Types, ParentShape>;
// effect: <
// // Pothos Types:
// Args extends InputFieldMap,
// Type extends TypeParam<Types>,
// ResolveShape,
// // Effect Types:
// ServiceEntries extends
// | readonly [PothosEffectPluginTypes.ServiceEntry, ...PothosEffectPluginTypes.ServiceEntry[]]
// | readonly [PothosEffectPluginTypes.ServiceEntry],
// >(
// options: PothosEffectPluginTypes.EffectFieldOptions<
// Types,
// ParentShape,
// Type,
// Args,
// ResolveShape,
// ServiceEntries
// >,
// ) => FieldRef<unknown>;
}
}
}

0 comments on commit 2615162

Please sign in to comment.