matheus-rodrigues00 / utils

✨ Library to commonly used cross-projects utilities methods ✨
17 stars 11 forks source link

Create omit Method At objects.ts #27

Closed matheus-rodrigues00 closed 1 year ago

matheus-rodrigues00 commented 1 year ago

The omit method should create a new object with the specified properties removed. Method signature:

function omit(source: object, keys: string[]): object {
  // Implement the omit logic here
}

‼️ tests required.