Variables let lucky : number; lucky = 24; // or let lucky : number = 24; Functions function pow(x : number, y : number) : string { return Math.pow(x,y).toString(); } Any Type If you want to opt-out of the default type-checking, then do: let myvar : any;