`[...new Set(iterable)]` の代わりに `unique(iterable)` を使う
#4886 · TypeScript · ★ 142 · MIT · updated 1mo ago
以下の部分の引数の型を T[] に代わって Iterable<T> とする必要がある (array.ts から iterable.ts に rename してもいいかも) traQ_S-UI/src/lib/basic/array.ts Line 66 in 7816d08 export const unique = <T>(a: T[]) => [...new Set(a)]
replies in ~15hpoints at a filehas CONTRIBUTINGnobody circling
Cleared 1m ago