create vars with type typescript code example Example: how to declare variable in typescript const variableSample: number = 0; let variableSample: number = 0;