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
Describe the bug ts(1378) is not handling the use of multiple single quotes correctly, putting all of the code instances into a single block, plus text in between.
Expected behavior
I'd expect the message to look something like:
Top level await expressions are only allowed when the module option is set to es2022, esnext, [...] or nodenext, and the target option is set to es2017 or higher.
Original error
Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.ts(1378)
Screenshots
The text was updated successfully, but these errors were encountered:
Describe the bug
ts(1378)
is not handling the use of multiple single quotes correctly, putting all of the code instances into a single block, plus text in between.Expected behavior
I'd expect the message to look something like:
Original error
Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.ts(1378)
Screenshots
The text was updated successfully, but these errors were encountered: