asserts that return type is null | Generic<T> is reported as null
and lose the generic
#49588
Labels
Duplicate
An existing issue was already created
Bug Report
🔎 Search Terms
🕗 Version & Regression Information
⏯ Playground Link
Playground link with relevant code
💻 Code
🙁 Actual behavior
When an asserter return
null
or a Generic, it is reported asnull
.It does this for every generic, even
Array<string>
. If the return type is not a generic, it does work fine (withnull | string
for exemple)🙂 Expected behavior
It should be marked as
null | Generic<string>
Thank you!
The text was updated successfully, but these errors were encountered: