Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

118
Views
"Id" is not in type "baseeventorigin<any>".(ts2345)
    interface IProps {
      message: INotifyMsg;
      onDeleteMsg?: CommonEventFunction;
      disabled?: boolean;
    }
    handleDelete = (id, title) => {
        if (this.props.onDeleteMsg && !this.props.disabled) {
          this.props.onDeleteMsg({ id, title }); 
        }
      }

Type "{id: any; title: any;}" The parameter of cannot be assigned to a parameter of type "baseeventorigin".

Object text can only specify known attributes, and "Id" is not in the type "baseeventorigin". ts(2345)

    <View className="delete-Btn">
      {this.props.onDeleteMsg && <Text className="delete" onClick={() => 
      this.handleDelete(message.id, message.title)}>delete</Text>}
    </View>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!