- https://alexharri.com/blog/jsdoc-as-an-alternative-typescript-syntax
- https://dev.to/samuel-braun/boost-your-javascript-with-jsdoc-typing-3hb3
Here's how you can do it for common primitive types:
export interface Child1Props { | |
name: string; | |
languages: Array<string>; | |
} |
Here's how you can do it for common primitive types:
This file provides commands to display a list of Git branches ordered by the 20 most recent commits, both locally and including remote branches. These commands are helpful for developers to easily track recent activity in the repository.
To view a list of local Git branches sorted by commit date, use the following command:
git for-each-ref --count=20 --sort=-committerdate refs/heads --format='%(authordate:short) %(color:red)%(objectname:short) %(color:yellow)%(refname:short)%(color:reset) (%(color:green)%(committerdate:relative)%(color:reset))'
The git log
command is a powerful tool for viewing the commit history of a Git repository. By default, it displays a detailed list of commits, including commit hashes, commit messages, author names, dates, and branch information. However, customizing the output format can make the log more informative and visually appealing.
In this gist, we'll explore two enhanced git log
commands that use custom formatting to provide a clearer and more concise view of the commit history.