Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

type casting in typescript

// Original syntax
var markerSymbolInfo = <MarkerSymbolInfo> symbolInfo;

// Newer additional syntax
var markerSymbolInfo = symbolInfo as MarkerSymbolInfo;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #type #casting #typescript
ADD COMMENT
Topic
Name
3+7 =