You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Side-issue to #1440 — you can't use Promise in a template expression without declaring it as a helper (or as data). It should be among the whitelisted globals:
{#await Promise.resolve(42)}
<p>waiting...</p>
{:then answer}
<p>the answer is {answer}</p>
{/await}
{#if true}
<p>true!</p>
{/if}
<!-- the script block should be unnecessary --><script>exportdefault{helpers: { Promise }};</script>
The text was updated successfully, but these errors were encountered:
Side-issue to #1440 — you can't use
Promise
in a template expression without declaring it as a helper (or as data). It should be among the whitelisted globals:The text was updated successfully, but these errors were encountered: