Untitled

 avatar
unknown
plain_text
2 years ago
217 B
3
Indexable
type TestType = {
    a: string;
    b: string;
};

type TestType2 = {
    c: string;
};

const mapProps2 = (props: Partial<TestType & TestType2>) => ({
    a: props.a,
    b: props.b,
    c: props.c,
});
Editor is loading...