react-timing-hooks
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -82,3 +82,3 @@ import { useRef, useCallback, useEffect, useState } from 'react'; | ||
***************************************************************************** */ | ||
/* global Reflect, Promise, SuppressedError, Symbol */ | ||
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */ | ||
@@ -85,0 +85,0 @@ |
@@ -84,3 +84,3 @@ 'use strict'; | ||
***************************************************************************** */ | ||
/* global Reflect, Promise, SuppressedError, Symbol */ | ||
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */ | ||
@@ -87,0 +87,0 @@ |
@@ -1,3 +0,2 @@ | ||
import { CounterSettings } from './useCounter'; | ||
import { IntervalControls } from './useInterval'; | ||
import { type CounterControls, type CounterSettings } from './useCounter'; | ||
export type CountdownSettings = Partial<CounterSettings> & { | ||
@@ -23,3 +22,3 @@ onEnd?: () => unknown; | ||
*/ | ||
declare const useCountdown: (from: number, to: number, settings?: CountdownSettings) => [number, IntervalControls]; | ||
declare const useCountdown: (from: number, to: number, settings?: CountdownSettings) => [number, CounterControls]; | ||
export default useCountdown; |
{ | ||
"name": "react-timing-hooks", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "React hooks for setTimeout, setInterval, requestAnimationFrame, requestIdleCallback", | ||
@@ -56,5 +56,5 @@ "main": "dist/index.js", | ||
"@rollup/plugin-typescript": "^11.1.6", | ||
"@shopify/jest-dom-mocks": "^4.0.0", | ||
"@testing-library/jest-dom": "^5.16.5", | ||
"@testing-library/react": "^13.4.0", | ||
"@shopify/jest-dom-mocks": "^5.2.0", | ||
"@testing-library/jest-dom": "^6.5.0", | ||
"@testing-library/react": "^16.0.1", | ||
"@testing-library/user-event": "^14.5.2", | ||
@@ -61,0 +61,0 @@ "@types/jest": "^29.5.12", |
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
78105
1353