This website requires JavaScript.
Explore
Help
Sign In
cerxes
/
babel
Watch
3
Star
0
Fork
0
You've already forked babel
Code
Issues
Pull Requests
Releases
Wiki
Activity
babel
/
packages
/
babel-plugin-proposal-optional-chaining
/
test
/
fixtures
/
transparent-expr-wrappers
/
ts-as-call-context-in-if
/
input.ts
Huáng Jùnliàng
a44151acef
optimize optional chain when expression will be cast to boolean (
#12291
)
2020-11-20 20:55:33 +01:00
4 lines
38 B
TypeScript
Raw
Blame
History
(
a
)
=
>
{
if
(
(
a
.
b
as
any
)
?
.
(
)
)
{
}
}
Reference in New Issue
View Git Blame
Copy Permalink