Untitled

Anonymous
plain_text
07/26/2023 12:20 PM
292 B
15
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...