let myVar : string | number; //Variable with union type declaration myVar = 100; //OK myVar = 'Lokesh'; //OK myVar = true; //Error - boolean not allowed