Posts by Arthur Prasniski • 39 points
3 posts
-
2
votes0
answers482
viewsQ: Argument of type 'Iaulasadicional[]' is not Assignable to Parameter of type 'string'
Opa, I have this problem in my code which I am not able to solve, follows below my code I hope you can help me!!! Stoned: "AulasAdicionais": [ { "Periodo": "1", "HorarioInicio":…
-
-1
votes1
answer71
viewsQ: If validation to check if value is Undefined
I’m having trouble checking if the value is undefinded. I need to make a if for this validation, follow my code: My interface: interface IModalContatos { dados: IContatos | undefined; onSave:(dados:…
-
0
votes2
answers44
viewsQ: Grab list of objects within the array
I’m having some difficulty to get the values that are of my function and pass them to a list, follow the code: const [listaPais, setListaPais] = useState<{ id: number; name: string }[]>( [] );…