jsr-core / unknownutil

A lightweight utility pack for handling unknown type
https://jsr.io/@core/unknownutil
MIT License
61 stars 5 forks source link

`asOptional` should only annotate a predicate instead (breaking) #134

Open lambdalisue opened 1 month ago

lambdalisue commented 1 month ago

Related to #132.

lambdalisue commented 2 weeks ago

https://github.com/denoland/deno/issues/11889#issuecomment-2360821816

it seems the option (exactOptionalPropertyTypes) is not enabled by default even in Deno v2