Skip to content

Commit 482bc98

Browse files
committed
fixup: typo discovered during walkthrough :)
1 parent 288b40e commit 482bc98

File tree

1 file changed

+1
-1
lines changed
  • packages/async-rewriter3/src

1 file changed

+1
-1
lines changed

packages/async-rewriter3/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ fn collect_insertions(
476476
// as `typeof` applied to the value of `foo`, but also checks whether the
477477
// identifier `foo` exists and in particular does not fail if it does not.
478478
// So we transform `typeof foo` into
479-
// `(typeof foo === undefined ? 'undefined' : typeof (shouldAwait(foo) ? await foo : foo))`.
479+
// `(typeof foo === 'undefined' ? 'undefined' : typeof (shouldAwait(foo) ? await foo : foo))`.
480480
insertions.push_pair(Insertion::pair(
481481
get_parent_kind(node).unwrap(),
482482
format!(

0 commit comments

Comments
 (0)