mesqueeb/filter-anything

dont work dynamic array

productdevbook opened this issue · 0 comments

import { omit } from 'filter-anything'

const aaa = ['hasThumb', 'sizes']

const dd = omit({
      hasThumb: {
        type: Boolean,
        required: true,
      },
      sizes: {
        type: String
        required: true,
      },
    }, aaa)
CleanShot 2023-09-11 at 06 00 09@2x