IonInput type file

Hello

There is a way to upload an image file with in IonInput as is possible with an input tag?

Type ‘“file”’ is not assignable to type ‘“number” | “time” | “text” | “tel” | “url” | “email” | “search” | “date” | “password” | “week” | “month” | “datetime-local” | undefined’. TS2322

<IonInput className="ingresarFoto" id="inputFile1" type="file" accept="image/*" onChange={ handleChange("foto1")} />