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
| type Valuable<T> = { [K in keyof T as T[K] extends null | undefined ? never : K]: T[K] }; | |
| function getValuable< | |
| // eslint-disable-next-line @typescript-eslint/ban-types | |
| T extends {}, | |
| V = Valuable<T>, | |
| >(obj: T): V { | |
| return Object.fromEntries( | |
| Object.entries(obj).filter( | |
| ([, v]) => |
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
| .DS_Store |
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
| find . -name node_modules -exec du -sh {} \; -prune | sort -rh |