typescript init variable code example Example: how to declare variable in typescript const variableSample: number = 0; let variableSample: number = 0;