We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 288b40e commit 482bc98Copy full SHA for 482bc98
packages/async-rewriter3/src/lib.rs
@@ -476,7 +476,7 @@ fn collect_insertions(
476
// as `typeof` applied to the value of `foo`, but also checks whether the
477
// identifier `foo` exists and in particular does not fail if it does not.
478
// So we transform `typeof foo` into
479
- // `(typeof foo === undefined ? 'undefined' : typeof (shouldAwait(foo) ? await foo : foo))`.
+ // `(typeof foo === 'undefined' ? 'undefined' : typeof (shouldAwait(foo) ? await foo : foo))`.
480
insertions.push_pair(Insertion::pair(
481
get_parent_kind(node).unwrap(),
482
format!(
0 commit comments