You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Babel has no support for JSDocNullableType right now and it doesn't look like they are willing to even accept a PR, it probably makes most sense to simply do type.endsWith('?') and turn it into a nullable/union-with-null: babel/babel#16073
Same for expandTypeDepFree.
The text was updated successfully, but these errors were encountered:
Working
Expected output:
Current outputs:
Since Babel has no support for
JSDocNullableType
right now and it doesn't look like they are willing to even accept a PR, it probably makes most sense to simply dotype.endsWith('?')
and turn it into a nullable/union-with-null: babel/babel#16073Same for
expandTypeDepFree
.The text was updated successfully, but these errors were encountered: