@types/relay-runtime
Advanced tools
Comparing version 14.1.5 to 14.1.6
@@ -40,4 +40,4 @@ import { PayloadError, UploadableMap } from '../network/RelayNetworkTypes'; | ||
environment: Environment, | ||
// tslint:disable-next-line no-unnecessary-generics | ||
// eslint-disable-next-line no-unnecessary-generics | ||
config: MutationConfig<TOperation>, | ||
): Disposable; |
@@ -9,3 +9,3 @@ import { MutableRecordSource, RecordMap, Record } from './RelayStoreTypes'; | ||
static create(records?: RecordMap): MutableRecordSource; | ||
// tslint:disable-next-line:no-unnecessary-generics | ||
// eslint-disable-next-line no-unnecessary-generics | ||
get<T extends object = {}>(dataID: DataID): Record<T> | null | undefined; | ||
@@ -12,0 +12,0 @@ getRecordIDs(): DataID[]; |
@@ -182,3 +182,3 @@ import { MutationParameters } from '../mutations/commitMutation'; | ||
export interface RecordSource { | ||
// tslint:disable-next-line:no-unnecessary-generics | ||
// eslint-disable-next-line no-unnecessary-generics | ||
get<T extends object = {}>(dataID: DataID): Record<T> | null | undefined; | ||
@@ -394,3 +394,3 @@ getRecordIDs(): DataID[]; | ||
delete(dataID: DataID): void; | ||
// tslint:disable-next-line:no-unnecessary-generics | ||
// eslint-disable-next-line no-unnecessary-generics | ||
get<T = {}>(dataID: DataID): RecordProxy<T> | null | undefined; | ||
@@ -397,0 +397,0 @@ getRoot(): RecordProxy; |
@@ -18,4 +18,4 @@ import { DeclarativeMutationConfig } from '../mutations/RelayDeclarativeMutationConfig'; | ||
environment: Environment, | ||
// tslint:disable-next-line no-unnecessary-generics | ||
// eslint-disable-next-line no-unnecessary-generics | ||
config: GraphQLSubscriptionConfig<TSubscription>, | ||
): Disposable; |
{ | ||
"name": "@types/relay-runtime", | ||
"version": "14.1.5", | ||
"version": "14.1.6", | ||
"description": "TypeScript definitions for relay-runtime", | ||
@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/relay-runtime", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "1051fd0b2dad90e2db7d1396be55885828d50362938df4c3fb154f03e2b0badc", | ||
"typeScriptVersion": "4.1" | ||
"typesPublisherContentHash": "35e27b3645c3286b0591ae8f63b47253d6d74e821b624fc6cabc6b3de626e852", | ||
"typeScriptVersion": "4.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 28 Nov 2022 06:02:51 GMT | ||
* Last updated: Fri, 30 Dec 2022 23:03:47 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |