Skip to content

Instantly share code, notes, and snippets.

@devdoomari3
Created February 18, 2020 11:17
Show Gist options
  • Save devdoomari3/bdbe2d1911fb2afc57077da78a09585a to your computer and use it in GitHub Desktop.
Save devdoomari3/bdbe2d1911fb2afc57077da78a09585a to your computer and use it in GitHub Desktop.
interesting Typescript stuffs
https://stackoverflow.com/questions/57016728/is-there-a-way-to-define-type-for-array-with-unique-items-in-typescript
( https://www.typescriptlang.org/play/#code/MYewdgzgLgBFCuAHANgUwPIDMAyBLKqATgIbIQBcMA2gIwA0MATA4wLowC819TLrA3AFgAUKEiwEKDJgBy4PARJlKVMPAC2AIyIM1WnTD3bC7LrRZ8ho8NBjFCJAJ5YFRUhRgAKGjAA+TAEoqU24LJgERMVt7Jyw5MFclDyMiYM5Q3nCrEShHRFQYAEkwADdSXAATAB4AFQA+dIBRBxBCGAAyGABvGAB9XqJCVoBZVAgIYgBzVEoamABfDsNUEqJs4Vz8mABBCABVMFwAR3hUbYdiRyqRGB2YVAAPAjAKiBgAJVRiCvBkR3OnFViGBHHU6DcYAAhe5PVAvN6fb6-f4XK7A0EiBpcLoQqiFGC4MAwADWqEcIEwO1YlHgYGJYBAAHciY9nq9uhDblQAFIEomk8mUyHUmC81lw9n4gD8y1WbUokJ57HF8J2ePYMtp9KZRMoYBWRAh81UGmMrE5MBlxTKyEqVSo23VDAARLg3oRUPliAQKs7WHULZRHYVzcJ5utNgUZDEmcRNGhOBD-NBCITJknDKbDcJbv5NCAQGhgRmQJoAFaoYBQDNqZDIDO0iqoTCE1AVDMQRxaQvrKKwYj7Q4nM6o9LXHMwGQwtlvaMtRlxtDgifbacSt5pfyIn5gP4Ay5VGQNTq7A7HU77q7bBjbAPCOqeCHEIMiAKcBrEXs2WAgYmXdIDmew6Xp45iZAAzKwAT8DAAD0sEwL+lyRN+hggFA6B-o4AGDueI5OKBPDMOE0FwQhgytAAhCI8G3HR9EMYxTEMQAfrcLE0QhKRtG6aH9uMuCTGAi4FFAIBFKU5TVFQxGuu6npfD6foNP4jbNq27bCJxMAAMLbAAao02w1AAyih4gwNM+pKJeepZoQaRmERYTOTARERNYFk-GMYBQDp9hnPm8BQAA4nCbjIJebxcIBQ4XqinhWRFl6kbRDL3C0hAiOZ0SolgADqlSoDUeRjCo3G6PZIRgWwVh9jAwDAgyUAmagxUABbejI9kQOcqAACK4JgmBEHCsAxbhwEJTElwFUVJX5BAqXkZly60daUn2hVMByTAHpekp-rZVpJ1AA )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment