The ui-extensions runtime environment documentation indicates that nothing after ES2015 should be used but the customer-account.page.render target example uses async/await and const.
Additionally, without amendments to tsconfig.json, the use of async
, Promise
, Array.find()
upset the type checker. Should documentation be updated? What version of ES is supported?