Support appropriate symbol type casting

ZapWorks Studio uses typescript, which allows us to use type safe variables. That’s great. But the problem is that I can not cast a symbol to a specific type, even though said type actually exists. This is necessary when I want to do a loop iteration on a group filled with symbols like “(group.child(i) as mysymboltype).nodes…” for example. I am quite frustrated that I often have to cast a symbol to any, losing type safety and autocompletion because ZapWorks doesn’t support symbol type casting. Attached below is a sample project illustrating the problem.

symbolCastProblem.zip (5.2 KB)

3 Likes