@types/react-relay
Advanced tools
Comparing version 7.0.20 to 7.0.21
@@ -136,3 +136,5 @@ // Type definitions for react-relay 7.0 | ||
export type Container<Props> = React.ComponentType<ContainerProps<Props> & { componentRef?: ((ref: any) => void) | undefined }>; | ||
export type Container<Props> = React.ComponentType< | ||
ContainerProps<Props> & { componentRef?: ((ref: any) => void) | undefined } | ||
>; | ||
@@ -139,0 +141,0 @@ export function createFragmentContainer<Props>( |
@@ -51,3 +51,3 @@ import { ComponentType } from 'react'; | ||
TQuery extends OperationType, | ||
TEnvironmentProviderOptions = EnvironmentProviderOptions | ||
TEnvironmentProviderOptions = EnvironmentProviderOptions, | ||
> extends Readonly<{ | ||
@@ -118,3 +118,3 @@ kind: 'PreloadedQuery'; | ||
*/ | ||
TExtraProps extends {} | null | ||
TExtraProps extends {} | null, | ||
> extends Readonly<{ | ||
@@ -134,3 +134,3 @@ root: JSResourceReference< | ||
type ThinNestedEntryPointParamsObject< | ||
TPreloadedEntryPoints extends Record<string, EntryPoint<any, any> | undefined> = {} | ||
TPreloadedEntryPoints extends Record<string, EntryPoint<any, any> | undefined> = {}, | ||
> = { | ||
@@ -162,3 +162,3 @@ [K in keyof TPreloadedEntryPoints]: ThinNestedEntryPointParams<TPreloadedEntryPoints[K]>; | ||
TPreloadedEntryPoints extends Record<string, EntryPoint<any, any> | undefined>, | ||
TExtraProps extends {} | null | ||
TExtraProps extends {} | null, | ||
> extends Readonly<{ | ||
@@ -184,3 +184,3 @@ entryPoints?: ThinNestedEntryPointParamsObject<TPreloadedEntryPoints> | undefined; | ||
TRuntimeProps extends {} = {}, | ||
TExtraProps extends {} | null = {} | ||
TExtraProps extends {} | null = {}, | ||
> = ComponentType<EntryPointProps<TPreloadedQueries, TPreloadedEntryPoints, TRuntimeProps, TExtraProps>>; | ||
@@ -208,3 +208,3 @@ | ||
TQuery extends OperationType, | ||
TEnvironmentProviderOptions extends EnvironmentProviderOptions = EnvironmentProviderOptions | ||
TEnvironmentProviderOptions extends EnvironmentProviderOptions = EnvironmentProviderOptions, | ||
> extends Readonly<{ | ||
@@ -211,0 +211,0 @@ /** |
@@ -11,3 +11,3 @@ import { GraphQLTaggedNode, IEnvironment, OperationType, VariablesOf } from 'relay-runtime'; | ||
TQuery extends OperationType, | ||
TEnvironmentProviderOptions extends EnvironmentProviderOptions = {} | ||
TEnvironmentProviderOptions extends EnvironmentProviderOptions = {}, | ||
>( | ||
@@ -14,0 +14,0 @@ environment: IEnvironment, |
@@ -24,3 +24,3 @@ import { | ||
TKey extends KeyType | null, | ||
TOptions = Options | ||
TOptions = Options, | ||
> = RefetchInexactDynamicResponse<TQuery, TOptions> & RefetchExactDynamicResponse<TQuery, TOptions>; | ||
@@ -27,0 +27,0 @@ |
{ | ||
"name": "@types/react-relay", | ||
"version": "7.0.20", | ||
"version": "7.0.21", | ||
"description": "TypeScript definitions for react-relay", | ||
@@ -36,4 +36,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-relay", | ||
}, | ||
"typesPublisherContentHash": "6dfa054096c9408fd1393ce1fa854959eadd8ada8f540cb802e4597d31345c94", | ||
"typeScriptVersion": "3.9" | ||
"typesPublisherContentHash": "213958bd51d9c450b1c75d1a4a2e78e9379f4795f2c2135355f854eaefc53f59", | ||
"typeScriptVersion": "4.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 29 Mar 2022 20:31:58 GMT | ||
* Last updated: Wed, 17 Aug 2022 08:32:32 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/relay-runtime](https://npmjs.com/package/@types/relay-runtime) | ||
@@ -14,0 +14,0 @@ * Global values: none |
43894
985