You can no longer assign other types when you strongly type a variable:
[Int]$a = 1 $a = 'does not work'
However, you can always re-assign a new type to a variable:
[String]$a = 'works'
You can no longer assign other types when you strongly type a variable:
[Int]$a = 1 $a = 'does not work'
However, you can always re-assign a new type to a variable:
[String]$a = 'works'