chore(deps): upgrade TypeScript to v5.5 and enable isolatedDeclarations

This commit is contained in:
Joakim Carlstein 2024-06-27 13:18:31 +02:00 committed by Joakim Carlstein
parent ef848a0553
commit d779286084
31 changed files with 512 additions and 458 deletions

View file

@ -1,6 +1,6 @@
import process from 'node:process';
export const getDuration = (start: [number, number]) => {
export const getDuration = (start: [number, number]): number => {
const [seconds, nanoseconds] = process.hrtime(start);
return seconds * 1000 + nanoseconds / 1_000_000;
};