I need help to deliver a job

In my html class it is saying that the property is as a number and not as a string… the error follows…


<ion-content padding>
      <ion-label stacked>NomeDoCarro</ion-label>
      <ion-input type="text" name="NomeDoCarro" #nomeDocarro></ion-input>

      <ion-label stacked>marcaDoCarro</ion-label>
      <ion-input type="text" name="marcaDoCarro" #marcaDoCarro></ion-input>

      <ion-label stacked>corDoCarro</ion-label>
      <ion-input type="text" name="corDoCarro" #corDoCarro></ion-input>

      <ion-label stacked>modeloAno</ion-label>
      <ion-input displayFormat="DD/MM/YYYY" name="modeloAno" #modeloAno></ion-input>

  <ion-button expand="block" (click)="saveProprietario(nomeDocarro.value, marcaDoCarro.value,
  corDoCarro.value, modeloAno.value)">Salvar</ion-button>

import { Component, OnInit } from '@angular/core';
import { prop } from '../prop';

  selector: 'app-proprietario',
  templateUrl: './proprietario.page.html',
  styleUrls: ['./proprietario.page.scss'],

export class ProprietarioPage {
  nomeDocarro : string;
  marcaDoCarro: string;
  corDoCarro: string;
  modeloAno: string;

  carros: Array<prop> = [];

  constructor() { }

  saveProprietario(nomeDocarro: string, marcaDoCarro: string, corDoCarro: string,
    modeloAno: string) {

    let propCriado1  = new prop(nomeDocarro, marcaDoCarro,corDoCarro,

Argument of type ‘string | number’ is not assignable to parameter of type ‘string’.
Type ‘number’ is not assignable to type ‘string’.ngtsc(2345)
proprietario.page.ts(9, 9): Error occurs in the template of component ProprietarioPage.