-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the bug
I am using a nullish coalescing operator in template code, like so <span>{$someStore.someProperty ?? ''}</span>
Logs
Nothing special is logged
To Reproduce
Clone from https://github.com/redmagic/transpile-template-code
npm i
npm start
Inspect file dist/main.js and search for "123", here you can see the ??
is not transpiled
Expected behavior
The operator should be transpiled like here: https://www.typescriptlang.org/play?target=2#code/MYewdgziA2CmB00QHMAUBXMATWAzAlmLFgAQD8ZJATAJRA
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request