the private never: unique symbol causes inferred types to "references an inaccessible 'unique symbol' type." in places where explicit type annotations are not possible.
It doesn't seem necessary to use typeof never, as number should work just as well.
the private
never: unique symbol
causes inferred types to "references an inaccessible 'unique symbol' type." in places where explicit type annotations are not possible.It doesn't seem necessary to use
typeof never
, asnumber
should work just as well.