Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I haveread the FAQ and my problem is not listed.
Repro
In cases with strings, we may want to prefer that empty string""
is equivalent to nullish, and show a fallback in that case. There currently is no option to support customizing string behavior.
Example:
letemailAddress:string|null=getEmailAddress();constlink="<a href='/'>"+(emailAddress||"---")+"</a>";
At a minimum, it'd be good to have aignoreStrings
option.