When I write
const a = process.hrtime.bigint();
Linting suggests that it is fine, but I see the compilation error
error TS2339: Property 'bigint' does not exist on type 'HRTime'.
Which seems peculiar when I read the docs https://nodejs.org/api/process.html So how can I use bigint() in typescript? My node version is 10.16.2. I am at a loss to understand why typescript doesn't allow this.