If you declare a variable with an annotation of type 300 , this means that not only the type is numeric, but only the value 300 valid:
var debounce: 300;
You will receive an error message if you try to assign, say, 200:
debounce = 200;
Turn on strict zero checks, and the compiler will catch this problem (you should assign a value, not a type annotation):
var debounce: 200;
In this case, when you try to use this variable, strict zero checks indicate that you never assigned a value, so you are told that you made the annotation, not the task.
Fenton
source share