I'm a TS newbie. I see Colyseus example code like
@type("number")
x = 4;
I can't find other examples of this syntax in typescript documentation. What is it? It looks more like type annotations that normally appear in code comments.
Why doesn't it use the typescript colon syntax, as in
x:number = 4;