Skip to content
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

vaadin 15 tries to export to typescript protected properties from extended abstract class. #318

Open
apklein opened this issue Apr 25, 2020 · 1 comment
Labels
hilla Issues related to Hilla

Comments

@apklein
Copy link

apklein commented Apr 25, 2020

TS2739: Type '{ id: any; name: any; }' is missing the following properties from type 'Store': createdBy, createdDate, lastModifiedBy, lastModifiedDate.

update: same happends changing them to private.

@haijian-vaadin
Copy link
Contributor

Hi @apklein, thanks for the feedback. Is the problem that you want to ignore those protected/private properties in TypeScript? If so, you can use @JsonIgnore as described in this doc.

@ZheSun88 ZheSun88 transferred this issue from vaadin/platform Apr 27, 2020
@ZheSun88 ZheSun88 added the hilla Issues related to Hilla label Apr 27, 2020
@vaadin-bot vaadin-bot transferred this issue from vaadin/flow Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hilla Issues related to Hilla
Projects
None yet
Development

No branches or pull requests

3 participants