Permutation medium #union

by Naoto Ikuno @pandanoir

Take the Challenge    简体中文 日本語 한국어

Implement permutation type that transforms union types into the array that includes permutations of unions. ```typescript type perm = Permutation<'A' | 'B' | 'C'>; // ['A', 'B', 'C'] | ['A', 'C', 'B'] | ['B', 'A', 'C'] | ['B', 'C', 'A'] | ['C', 'A', 'B'] | ['C', 'B', 'A'] ```
Back Share your Solutions Check out Solutions