replace jest with ava
This commit is contained in:
parent
27cc8b23fe
commit
0347b72305
11775 changed files with 84546 additions and 1440575 deletions
36
node_modules/parse-ms/index.d.ts
generated
vendored
Normal file
36
node_modules/parse-ms/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
declare namespace parseMilliseconds {
|
||||
interface Parsed {
|
||||
days: number;
|
||||
hours: number;
|
||||
minutes: number;
|
||||
seconds: number;
|
||||
milliseconds: number;
|
||||
microseconds: number;
|
||||
nanoseconds: number;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
Parse milliseconds into an object.
|
||||
|
||||
@example
|
||||
```
|
||||
import parseMilliseconds = require('parse-ms');
|
||||
|
||||
parseMilliseconds(1337000001);
|
||||
// {
|
||||
// days: 15,
|
||||
// hours: 11,
|
||||
// minutes: 23,
|
||||
// seconds: 20,
|
||||
// milliseconds: 1,
|
||||
// microseconds: 0,
|
||||
// nanoseconds: 0
|
||||
// }
|
||||
```
|
||||
*/
|
||||
declare function parseMilliseconds(
|
||||
milliseconds: number
|
||||
): parseMilliseconds.Parsed;
|
||||
|
||||
export = parseMilliseconds;
|
||||
Loading…
Add table
Add a link
Reference in a new issue