Skip to content

Commit

Permalink
Delete mapNames
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Jan 18, 2024
1 parent d01378a commit 1bb0d1b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/introspection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,6 @@ interface DefaultScalars {
Int: number;
}

type mapNames<T extends readonly any[]> = obj<{
[P in T[number]['name']]: T[number] extends infer Value
? Value extends { readonly name: P }
? obj<Value>
: never
: never;
}>;

type mapScalar<
Type extends IntrospectionScalarType,
Scalars extends ScalarsLike = DefaultScalars,
Expand Down

0 comments on commit 1bb0d1b

Please sign in to comment.