This file contains 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 type RecursiveReadonly<T extends object> = Readonly<{ | |
readonly [key in keyof T]: | |
T[key] extends object | |
? T[key] extends BigInt | Date | Number | Symbol ? T[key] : RecursiveReadonly<T[key]> | |
: T[key] | |
}> |
This file contains 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
#!/bin/bash | |
# dependencies: jq, gh | |
if [ -z "$1" ]; then | |
echo "Usage: list-prs-for-path PATH [branch]"; | |
echo "Lists all PRs touching files starting with PATH"; | |
exit 1; | |
fi |