Logo
Explore Help
Sign In
cerxes/babel
3
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
Powered by Gitea Version: 1.23.5 Page: 112ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API