Skip to content

Commit

Permalink
fix: remove reference to type-fest
Browse files Browse the repository at this point in the history
closes #1249
  • Loading branch information
jasonkuhrt committed Nov 2, 2024
1 parent fc62186 commit b732f45
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 94 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-request",
"version": "7.1.1",
"version": "7.1.2",
"packageManager": "[email protected]",
"type": "module",
"main": "./build/entrypoints/main.js",
Expand Down
89 changes: 0 additions & 89 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions src/lib/prelude.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import type { ConditionalSimplifyDeep } from 'type-fest/source/conditional-simplify.js'

/* eslint-disable */
export type RemoveIndex<T> = {
[K in keyof T as string extends K ? never : number extends K ? never : K]: T[K]
Expand Down Expand Up @@ -182,8 +180,6 @@ export type Values<T> = T[keyof T]

export type GetKeyOr<T, Key, Or> = Key extends keyof T ? T[Key] : Or

export type SimplifyDeep<T> = ConditionalSimplifyDeep<T, Function | Iterable<unknown> | Date, object>

export type As<T, U> = U extends T ? U : never

export type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never
Expand Down

0 comments on commit b732f45

Please sign in to comment.