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
Unable to resolve signature of property decorator when called as an expression.
Argument of type 'ClassFieldDecoratorContext<Enhancer, any> & { name: "testTesting"; private: false; static: false; }' is not assignable to parameter of type 'string | symbol'.ts(1240)
(alias) const api: PropertyDecorator
import api
Decorator to mark public reactive properties
Description
Steps to Reproduce
I followed this guide: https://developer.salesforce.com/docs/platform/lwc/guide/ts.html
Expected Results
Typescript accepts the decorator @api
Actual Results
In VS Code, I get the following TypeScript error:
This prevents deploying to org.
Version
The text was updated successfully, but these errors were encountered: