@isograph/react 0.0.0-main-c9bf41eb → 0.0.0-main-ae3ef519

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -20,9 +20,6 @@ export type ReaderArtifact<TReadFromStore extends Object, TResolverProps, TResol
20
20
  export type ReaderAstNode = ReaderScalarField | ReaderLinkedField | ReaderResolverField | ReaderRefetchField | ReaderMutationField;
21
21
  export type ReaderAst<TReadFromStore> = ReaderAstNode[];
22
22
  export type ExtractSecondParam<T extends (arg1: any, arg2: any) => any> = T extends (arg1: any, arg2: infer P) => any ? P : never;
23
- export type Prettify<T> = {
24
- [K in keyof T]: T[K];
25
- } & {};
26
23
  export type ReaderScalarField = {
27
24
  kind: 'Scalar';
28
25
  fieldName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isograph/react",
3
- "version": "0.0.0-main-c9bf41eb",
3
+ "version": "0.0.0-main-ae3ef519",
4
4
  "description": "Use Isograph with React",
5
5
  "homepage": "https://isograph.dev",
6
6
  "main": "dist/index.js",
@@ -16,8 +16,8 @@
16
16
  "prepack": "yarn run test && yarn run compile"
17
17
  },
18
18
  "dependencies": {
19
- "@isograph/disposable-types": "0.0.0-main-c9bf41eb",
20
- "@isograph/react-disposable-state": "0.0.0-main-c9bf41eb",
19
+ "@isograph/disposable-types": "0.0.0-main-ae3ef519",
20
+ "@isograph/react-disposable-state": "0.0.0-main-ae3ef519",
21
21
  "react": "^18.2.0"
22
22
  },
23
23
  "devDependencies": {
package/src/index.tsx CHANGED
@@ -82,11 +82,6 @@ export type ReaderAst<TReadFromStore> = ReaderAstNode[];
82
82
  export type ExtractSecondParam<T extends (arg1: any, arg2: any) => any> =
83
83
  T extends (arg1: any, arg2: infer P) => any ? P : never;
84
84
 
85
- // See https://www.totaltypescript.com/concepts/the-prettify-helper
86
- export type Prettify<T> = {
87
- [K in keyof T]: T[K];
88
- } & {};
89
-
90
85
  export type ReaderScalarField = {
91
86
  kind: 'Scalar';
92
87
  fieldName: string;