TS1056
error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
Broken Code ❌
1 |
|
1 |
|
Fixed Code ✔️
Set the “target” property in your “tsconfig.json” file to “es5” or higher:
1 |
|
error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
1 |
|
1 |
|
Set the “target” property in your “tsconfig.json” file to “es5” or higher:
1 |
|