Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.
The TypeScript datatyping support not only applies to simple variables, it also supports you when doing clever things with functions. Specifically, TypeScript ensures you create reliable code when ...