mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-16 02:11:48 +08:00
2 lines
57 B
TypeScript
2 lines
57 B
TypeScript
|
export const unique = <T>(arr: T[]) => [...new Set(arr)]
|