Created
August 1, 2019 13:35
-
-
Save ralfting/9d7906dad5af9cf7813e0acbe4cf983c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const filterByIds = <T>(items: Object[], ids: string[]): T[] => | |
| items.filter(item => ids.includes(item.id)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment