I’m using some ionic components inside a stenciljs project and some of them gives me errors also if I follow the documentation.
For example, <ion-input type="file"></ion-input>
gives me this error "Type ‘“file”’ is not assignable to type ‘TextFieldTypes’."
This happens despite the fact that the ionic documentation allow to give to a ion-input the type=file.
I’ve tried also<ion-input file />
I have another error "Type ‘{ file: true; }’ is not assignable to type ‘IonInput’.
** Property ‘file’ does not exist on type ‘IonInput’".**
I don’t understand how to use a simple ion-input field with type file.