Answer the question
In order to leave comments, you need to log in
Is it possible to overload properties?
Is it possible to do something like this?
interface Field {
a: string;
}
interface Field {
a: string;
b: string;
c: string;
}
Answer the question
In order to leave comments, you need to log in
Why not just make them optional?
interface Field {
a: string;
b?: string;
e?: string;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question