diff --git a/packages/shared/src/index.ts b/packages/shared/src/index.ts index d844487f0b5..e6423ce528a 100644 --- a/packages/shared/src/index.ts +++ b/packages/shared/src/index.ts @@ -30,13 +30,6 @@ export const isOn = (key: string) => onRE.test(key) export const extend = Object.assign -export const remove = (arr: T[], el: T) => { - const i = arr.indexOf(el) - if (i > -1) { - arr.splice(i, 1) - } -} - const hasOwnProperty = Object.prototype.hasOwnProperty export const hasOwn = ( val: object,