Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/react-relay

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-relay - npm Package Compare versions

Comparing version 16.0.2 to 16.0.3

2

react-relay/legacy.d.ts

@@ -136,4 +136,4 @@ import * as React from "react";

interface ConnectionData {
edges?: ReadonlyArray<any> | null | undefined;
edges?: readonly any[] | null | undefined;
pageInfo?: Partial<PageInfo> | null | undefined;
}
{
"name": "@types/react-relay",
"version": "16.0.2",
"version": "16.0.3",
"description": "TypeScript definitions for react-relay",

@@ -41,4 +41,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-relay",

},
"typesPublisherContentHash": "4711b6ad9ab10811b182c6025c369eaf8e16e5a6be0d319db18cbd87e4341e98",
"typesPublisherContentHash": "c9bbbb85eacb6db70108159cb95e5d48f654a7e0b888feb7dbc93d361efd14ad",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 07 Nov 2023 20:08:00 GMT
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/relay-runtime](https://npmjs.com/package/@types/relay-runtime)

@@ -14,0 +14,0 @@

@@ -42,3 +42,3 @@ import { ComponentType } from "react";

// $Parameters.js value matches the type param provided to preloadQuery.
// tslint:disable-next-line interface-over-type-literal
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
export type PreloadableConcreteRequest<TQuery extends OperationType> = {

@@ -248,5 +248,5 @@ kind: "PreloadableConcreteRequest";

// tslint:disable-next-line interface-name
// eslint-disable-next-line @typescript-eslint/naming-convention
export interface IEnvironmentProvider<TOptions> {
getEnvironment(options: TOptions | null): IEnvironment;
}

@@ -15,3 +15,3 @@ /*

export type ArrayKeyType<TData = unknown> = ReadonlyArray<KeyType<ReadonlyArray<TData>> | null | undefined>;
export type ArrayKeyType<TData = unknown> = ReadonlyArray<KeyType<readonly TData[]> | null | undefined>;
export type ArrayKeyTypeData<TKey extends ArrayKeyType<TData>, TData = unknown> = KeyTypeData<

@@ -18,0 +18,0 @@ NonNullable<TKey[number]>

@@ -12,2 +12,2 @@ import { DataID, Disposable } from "relay-runtime";

*/
export function useSubscribeToInvalidationState(dataIDs: ReadonlyArray<DataID>, callback: () => void): Disposable;
export function useSubscribeToInvalidationState(dataIDs: readonly DataID[], callback: () => void): Disposable;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc