* Create parser plugin "topLevelAwait" * Update test262 whitelist * Update ts typings * Fix "sourceType: unambiguous" with TLA * Ambiguous tokens after await * Update await %x(0) * typo [skip ci] * Typo [skip ci] Co-Authored-By: Brian Ng <bng412@gmail.com>
6 lines
136 B
JSON
6 lines
136 B
JSON
{
|
|
"plugins": ["topLevelAwait"],
|
|
"sourceType": "module",
|
|
"throws": "Can not use keyword 'await' outside an async function (2:2)"
|
|
}
|