create-api-hooks
Advanced tools
Comparing version 0.0.44 to 0.0.45
@@ -40,3 +40,3 @@ /// <reference types="react" /> | ||
data: D; | ||
loading: boolean; | ||
loading: boolean | undefined; | ||
error: any; | ||
@@ -43,0 +43,0 @@ dataRef: import("react").MutableRefObject<D>; |
@@ -53,3 +53,3 @@ import { useEffect, useState, useCallback, useRef } from 'react'; | ||
var _h = useState(initValue), data = _h[0], setData = _h[1]; | ||
var _j = useState(false), loading = _j[0], setLoading = _j[1]; | ||
var _j = useState(), loading = _j[0], setLoading = _j[1]; | ||
var preParams = useRef(initValue); | ||
@@ -56,0 +56,0 @@ var isOutRequestRef = useRef(false); |
@@ -57,3 +57,3 @@ 'use strict'; | ||
var _h = react.useState(initValue), data = _h[0], setData = _h[1]; | ||
var _j = react.useState(false), loading = _j[0], setLoading = _j[1]; | ||
var _j = react.useState(), loading = _j[0], setLoading = _j[1]; | ||
var preParams = react.useRef(initValue); | ||
@@ -60,0 +60,0 @@ var isOutRequestRef = react.useRef(false); |
{ | ||
"name": "create-api-hooks", | ||
"version": "0.0.44", | ||
"version": "0.0.45", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "mushan0x0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45606