/** * 从数组中移除某个元素 * @param arr 数组 * @param val 数组中某个元素 * @example remove(arr,val); */ export default function remove(arr: T[], val: T): T[];