将 typescript 与 cypress 一起使用时出现错误 TS1056

Getting an error TS1056 when using typescript with cypress

我收到错误:

Error TS1056: Accessors are only available when targeting ECMAScript 5 and higher  

我使用打字稿、黄瓜和柏树。
这是我的演示项目:
https://github.com/mareru/cypress-cucumber-example/tree/typscript-support

我用谷歌搜索了这个错误,并按照 tsconfig.json 文件中的所有建议进行操作,但似乎无济于事。
请检查项目并帮助解决此错误。
我不确定我在这里做错了什么。
请帮忙。非常感谢。

tsconfig.json 文件移动到您项目的根目录,以便 cypress 能够获取它。