Update app and tooling
This commit is contained in:
parent
3046531bdd
commit
e620ec7349
4950 changed files with 2975120 additions and 10 deletions
22
node_modules/convert-hrtime/index.d.ts
generated
vendored
Normal file
22
node_modules/convert-hrtime/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
declare namespace convertHrtime {
|
||||
interface HRTime {
|
||||
seconds: number;
|
||||
milliseconds: number;
|
||||
nanoseconds: number;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
Convert the result of [`process.hrtime()`](https://nodejs.org/api/process.html#process_process_hrtime_time) to seconds, milliseconds, nanoseconds.
|
||||
|
||||
@example
|
||||
```
|
||||
import convertHrtime = require('convert-hrtime');
|
||||
|
||||
convertHrtime(process.hrtime(process.hrtime()));
|
||||
//=> {seconds: 0.000002399, milliseconds: 0.002399, nanoseconds: 2399}
|
||||
```
|
||||
*/
|
||||
declare function convertHrtime(hrtime: [number, number]): convertHrtime.HRTime;
|
||||
|
||||
export = convertHrtime;
|
||||
Loading…
Add table
Add a link
Reference in a new issue