Reviewing some code on Github, I am looking for ways to quickly determine whether the script is written in JavaScript or TypeScript.
Are there any simple tips or hints that can help with this?
For instance, when examining an array declaration like the one shown in this image from https://www.typescriptlang.org/, where a bracket [] follows the variable name, it indicates that it is TypeScript.