Typescript uses the accessor error [Accessors are only available when targeting ECMAScript 5 and higher]

Use the command: tsc --target es5 script.ts

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324593775&siteId=291194637