Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629
|
SONofANARCHY,
what do you mean with "nothing that defines what these variables actually are"? Are you referring to the type of the variable (like double, boolean, string for example)? If that's the case, the TS compiler will determine the type by the initial value you assign when you declare and initialize the variable (at least for the code you posted as it doesn't include the variable types explicitly).
Regards,
ABCTG
|