You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static get visible () {
return ['description', 'title']
}
results in the following error:
Accessors are only available when targeting ECMAScript 5 and higher.ts(1056)
This can be resolved by targeting es5 in tsconfig.json. However VS code still shows the error and I'm wondering if its better to provide an alternative syntax to avoid targeting the older ES standard.
The text was updated successfully, but these errors were encountered:
Hello, regarding the choice of use accessors.
results in the following error:
This can be resolved by targeting es5 in tsconfig.json. However VS code still shows the error and I'm wondering if its better to provide an alternative syntax to avoid targeting the older ES standard.
The text was updated successfully, but these errors were encountered: