Answer the question
In order to leave comments, you need to log in
How to write an interface in TypeScript?
The server returns this JSON
{
"globalOptionList": [
{
"value": "Максим Иванов",
"text": "Выдан: 08.01.2017"
},
{
"value": "Максим Иванов",
"text": "Выдан: 06.01.2017"
}
],
"globalCountCertificate": 1,
"error": false
}
interface Response {
..
}
class App {
public res: Response;
}
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