diff --git a/src/dynamic-import/default/nested-async-generator-return-await.template b/src/dynamic-import/default/nested-async-generator-return-await.template index 9b396fb954434892dc9d7f59bc72cd07195a2a56..a3dc771aefd3d97e255daba29664f5d22d03c9aa 100644 --- a/src/dynamic-import/default/nested-async-generator-return-await.template +++ b/src/dynamic-import/default/nested-async-generator-return-await.template @@ -25,7 +25,7 @@ async function * f() { return await /*{ import }*/; } -f().next().then(imported => { +f().next().then(({value: imported}) => { /*{ body }*/