Replies: 1 comment 2 replies
-
A quick search uncovered this post: https://stackoverflow.com/questions/66505225/typescript-property-formdata-does-not-exist-on-type-event
The TypeScript issue linked from that post has a suggestion: interface FormDataEvent extends Event {
readonly formData: FormData;
};
interface FormDataEventInit extends EventInit {
formData: FormData;
};
declare var FormDataEvent: {
prototype: FormDataEvent;
new(type: string, eventInitDict?: FormDataEventInit): FormDataEvent;
}; Shoelace is currently using TS 4.7.2 and I didn't have any problem with it, so maybe it was added and you're on an older version where it's not supported. 🤷🏻♂️ |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm using shoelace in an Angular project. In my module, I have individual imports for button, tab, input, select, menu, checkbox and others and using them without issue. When I add radio or radio-group, compile fails with:
shoelace: 2.0.0-beta.76
(tried 72 also)chrome: 102.0.5005.63
Thank you
Beta Was this translation helpful? Give feedback.
All reactions