Installation
npm install --save @types/microseconds
Summary
This package contains type definitions for microseconds (https://github.com/kamicane/microseconds).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/microseconds.
index.d.ts
export interface ParsedTimeStamp {
microseconds: number;
milliseconds: number;
seconds: number;
minutes: number;
hours: number;
days: number;
toString(): string;
}
export function now(): number;
export function parse(timestamp: number): ParsedTimeStamp;
export function since(timestamp: number): number;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Kyle Roach.