exitCode type does not match the one of nodejs 20 ? #82
Open
Description
(ask the cat why there is an initial empty issue - sorry for this)
It looks like there is a problem when building signal-exit on node 20 (on my debian env, with non-pristine nodejs stuff).
src/index.ts(304,34): error TS2345: Argument of type 'string | number | undefined' is not assignable to parameter of type 'number | null | undefined'.
@types/node 20.12.12 indeed has a different definition for process.exitCode
.
It might very well be a problem only me is seeing, but it might not !
Miaw
Metadata
Assignees
Labels
No labels