// Original syntax
var markerSymbolInfo = <MarkerSymbolInfo> symbolInfo;
// Newer additional syntax
var markerSymbolInfo = symbolInfo as MarkerSymbolInfo;
return this.createMarkerStyle(symbolInfo as MarkerSymbolInfo);
return this.createMarkerStyle(<MarkerSymbolInfo> symbolInfo);
let x:unknown = "abcder";
console.log((x as string).length)
/*we turn something into a string*/