-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create PolymerTS compatible annotations #60
Comments
Would this be the default or opt-in? |
It will be imported just like now, but instead of |
I'm concerned about this sentence. What would be the output of: import { property } from 'twc/annotations/polymerts';
import { notify } from 'twc/annotations/polymer';
export class MyElement {
@property({ notify: true });
polymerTsProp: Object;
@notify
oldSchoolProp: Number;
} Would the |
All the decorators will be fetched from either polymer or polymerts annotations set. Fetching polymerts will automatically disable property auto registration so it works pretty much like PolymerTS. It will not, however, change how current twc annotations work. |
Create set of annotations to map PolymerTS decorators. Properties not annoted as
@property
should not be registered within properties object.The text was updated successfully, but these errors were encountered: