See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| interface User { | |
| id: number | |
| name: string | |
| } | |
| type Repository<T> = { | |
| // `TKey in string & keyof T`: Enumerate all keys of the given object as string | |
| // `findBy${Capitalize<TKey>}`: infer all keys by a template string | |
| [TKey in string & keyof T as `findBy${Capitalize<TKey>}`]: (args: T[TKey]) => T[] // May be a promise | |
| } |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"