@types/relay-runtime
Advanced tools
Comparing version 17.0.4 to 18.0.0
@@ -269,1 +269,14 @@ import ConnectionInterface from "./lib/handlers/connection/ConnectionInterface"; | ||
export type FragmentRef<Fragment> = Fragment extends _RefType<infer U> ? _FragmentRefs<U> : never; | ||
interface ErrorResult<Error> { | ||
ok: false; | ||
errors: readonly Error[]; | ||
} | ||
interface OkayResult<T> { | ||
ok: true; | ||
value: T; | ||
} | ||
// The type returned by fields annotated with `@catch` | ||
export type Result<T, Error> = OkayResult<T> | ErrorResult<Error>; |
{ | ||
"name": "@types/relay-runtime", | ||
"version": "17.0.4", | ||
"version": "18.0.0", | ||
"description": "TypeScript definitions for relay-runtime", | ||
@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/relay-runtime", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "e16a79e2961e77a8fee4a6598a531411581c47a2f646d7e7cfaaba800d6fe5ff", | ||
"typesPublisherContentHash": "da7348b5f86f89d7bbc815a5fc91f7a982772099e490cb5db924201491c10b66", | ||
"typeScriptVersion": "4.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 06 Aug 2024 15:08:14 GMT | ||
* Last updated: Wed, 09 Oct 2024 00:29:40 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
143246
3541