Answer the question
In order to leave comments, you need to log in
How to correctly initialize an object with a different set of fields in Typescript?
The following object comes from the API:
{
key1: "value1",
key2: "value2"
}
let object: any;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question