Skip to content

Latest commit

 

History

History
6 lines (3 loc) · 1.11 KB

File metadata and controls

6 lines (3 loc) · 1.11 KB

Replace Union hard

by Konstantin Barabanov @crutch12

Take the Challenge

Given an union of types and array of type pairs to replace ([[string, number], [Date, null]]), return a new union replaced with the type pairs.


Back Share your Solutions Check out Solutions