Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dont work dynamic array #20

Open
productdevbook opened this issue Sep 11, 2023 · 0 comments
Open

dont work dynamic array #20

productdevbook opened this issue Sep 11, 2023 · 0 comments

Comments

@productdevbook
Copy link

productdevbook commented Sep 11, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant