@shopify/react-hooks
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -28,2 +28,4 @@ 'use strict'; | ||
} | ||
return undefined; | ||
}, [delay]); | ||
@@ -30,0 +32,0 @@ } |
@@ -23,2 +23,4 @@ 'use strict'; | ||
} | ||
return undefined; | ||
}, [delay]); | ||
@@ -25,0 +27,0 @@ } |
@@ -1,5 +0,5 @@ | ||
declare type IntervalCallback = () => void; | ||
declare type IntervalDelay = number | null; | ||
type IntervalCallback = () => void; | ||
type IntervalDelay = number | null; | ||
export declare function useInterval(callback: IntervalCallback, delay: IntervalDelay): void; | ||
export {}; | ||
//# sourceMappingURL=interval.d.ts.map |
@@ -1,5 +0,5 @@ | ||
declare type IntervalCallback = () => void; | ||
declare type IntervalDelay = number | null; | ||
type IntervalCallback = () => void; | ||
type IntervalDelay = number | null; | ||
export declare function useTimeout(callback: IntervalCallback, delay: IntervalDelay): void; | ||
export {}; | ||
//# sourceMappingURL=timeout.d.ts.map |
@@ -1,1 +0,1 @@ | ||
module.exports = require("./build/cjs/index.js"); | ||
module.exports = require("./build/cjs/index.js"); |
{ | ||
"name": "@shopify/react-hooks", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"license": "MIT", | ||
@@ -48,4 +48,5 @@ "description": "A collection of primitive React hooks", | ||
"devDependencies": { | ||
"@shopify/react-testing": "^4.2.0" | ||
"@shopify/jest-dom-mocks": "^4.1.0", | ||
"@shopify/react-testing": "^5.1.0" | ||
} | ||
} |
@@ -12,3 +12,3 @@ # `@shopify/react-hooks` | ||
```bash | ||
$ yarn add @shopify/react-hooks | ||
yarn add @shopify/react-hooks | ||
``` | ||
@@ -15,0 +15,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
37052
473
2