hilla icon indicating copy to clipboard operation
hilla copied to clipboard

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

Open apklein opened this issue 5 years ago • 1 comments
trafficstars

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.

apklein avatar Apr 25 '20 03:04 apklein

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.

haijian-vaadin avatar Apr 25 '20 06:04 haijian-vaadin