react-hook-time
Advanced tools
Comparing version 0.0.1-alpha.5 to 0.0.1-alpha.6
@@ -1,2 +0,2 @@ | ||
export interface TTimeObject { | ||
export interface ITimeObject { | ||
years: number; | ||
@@ -74,3 +74,3 @@ days: number; | ||
currentTime: number; | ||
formattedCurrentTime: TTimeObject; | ||
formattedCurrentTime: ITimeObject; | ||
} | ||
@@ -77,0 +77,0 @@ export interface IimerResultWithoutUpdate { |
@@ -1,4 +0,4 @@ | ||
import { TTimeUnit, TTimeObject } from './types'; | ||
import { TTimeUnit, ITimeObject } from './types'; | ||
export declare const convertTimeToMs: (time: number | string | Date, timeUnit: TTimeUnit) => number; | ||
export declare const convertMsToSec: (milliseconds: number) => number; | ||
export declare const convertMsToTimeObj: (milliseconds: number) => TTimeObject; | ||
export declare const convertMsToTimeObj: (milliseconds: number) => ITimeObject; |
{ | ||
"name": "react-hook-time", | ||
"version": "0.0.1-alpha.5", | ||
"version": "0.0.1-alpha.6", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "A React timer library", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet