Deno.ppid
returns bigint, although type declarations says it's number
#22166
Labels
bug
Something isn't working correctly
Summary
Deno.ppid
is supposed to have type ofnumber
(according to https://deno.land/[email protected]?s=Deno.ppid), but what we get actually isbigint
.What happens now
Version: Deno 1.40.2
Expected result
typeof Deno.ppid === "number"
Additional note
Deno.pid
(not ppid) is of typenumber
as expected.Deno.ppid
is of typenumber
if we run it in Deno Deploy.The text was updated successfully, but these errors were encountered: