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

189
Views
El argumento de tipo no se puede asignar al tipo ObservableInput<any>

Cómo solucionar un problema donde el argumento de tipo (clave:cadena) => Observable | Tipo de carga útil | no se puede asignar a un parámetro de tipo '(valor: cadena, índice: número) => ObersvableInput'

 return action$.pipe( filter(a => a.type === 'ACTION'), mergeMap(action => { hideLoadingMask(); return askForMessageDialog({ title: 'test', type: 'question', text: getLocalized('test'), buttons: [ { key: 'cancel', caption: 'cancel'}, { key: 'notSave', caption: 'notSave' }, { key: 'save', caption: 'save' }], primaryButtonKey: cancel }).pipe( mergeMap((key) => { switch (key) { case notSave: { return refresh(); } case save: { return saveChanges(); } default: return empty(); } }) ); }) );
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Tuve que actualizar el código en:

 switch (key) { case notSave: { return of(refresh()); } case save: { return of(saveChanges()); } default: return empty(); }
about 4 years ago · Juan Pablo Isaza Report
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!