@types/react-request
Advanced tools
@@ -10,3 +10,3 @@ // Type definitions for react-request 3.1 | ||
| import * as React from 'react'; | ||
| import * as React from "react"; | ||
@@ -35,3 +35,3 @@ export interface FetchResponse<T> { | ||
| export type ResponseType = 'arrayBuffer' | 'blob' | 'formData' | 'json' | 'text'; | ||
| export type ResponseType = "arrayBuffer" | "blob" | "formData" | "json" | "text"; | ||
@@ -50,3 +50,3 @@ export interface FetchProps<T = any> extends FetchRequestProps { | ||
| export type DoFetch<T = any> = ( | ||
| options?: DoFetchOptions | ||
| options?: DoFetchOptions, | ||
| ) => Promise<FetchResponse<T>>; | ||
@@ -72,3 +72,3 @@ | ||
| init?: any, | ||
| dedupeOptions?: any | ||
| dedupeOptions?: any, | ||
| ): Promise<ProxyRequest>; | ||
@@ -75,0 +75,0 @@ |
| { | ||
| "name": "@types/react-request", | ||
| "version": "3.1.4", | ||
| "version": "3.1.5", | ||
| "description": "TypeScript definitions for react-request", | ||
@@ -40,4 +40,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-request", | ||
| }, | ||
| "typesPublisherContentHash": "e9f0cc3ef61be7ede4ccbcc399a5b6c969b10bf1fcb48291211cbd96ea7ecf5d", | ||
| "typeScriptVersion": "3.6" | ||
| "typesPublisherContentHash": "ef7f4e226d50188fb5b4783e0d237d0df31189ab86524740285086c6d670f27f", | ||
| "typeScriptVersion": "4.5" | ||
| } |
@@ -20,3 +20,3 @@ # Installation | ||
| import * as React from 'react'; | ||
| import * as React from "react"; | ||
@@ -45,3 +45,3 @@ export interface FetchResponse<T> { | ||
| export type ResponseType = 'arrayBuffer' | 'blob' | 'formData' | 'json' | 'text'; | ||
| export type ResponseType = "arrayBuffer" | "blob" | "formData" | "json" | "text"; | ||
@@ -60,3 +60,3 @@ export interface FetchProps<T = any> extends FetchRequestProps { | ||
| export type DoFetch<T = any> = ( | ||
| options?: DoFetchOptions | ||
| options?: DoFetchOptions, | ||
| ) => Promise<FetchResponse<T>>; | ||
@@ -82,3 +82,3 @@ | ||
| init?: any, | ||
| dedupeOptions?: any | ||
| dedupeOptions?: any, | ||
| ): Promise<ProxyRequest>; | ||
@@ -96,3 +96,3 @@ | ||
| ### Additional Details | ||
| * Last updated: Thu, 08 Jul 2021 22:41:28 GMT | ||
| * Last updated: Wed, 27 Sep 2023 07:12:04 GMT | ||
| * Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -99,0 +99,0 @@ * Global values: none |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
8141
0.02%