advance. Are you just typing API values as basic types (number, string, object, array)? In which level do I need to be more specific?
I have no problem with the type my API returns, but I didn't know what will be the type of it.
Nope, you do not need to use basic types for object, array, etc., but when you work with primitive API values like string, they have primitive types in most cases
Обсуждают сегодня