|
|
|
|
|
by disordinary
5001 days ago
|
|
The JSDoc system gets in the way too much, how for instance do you type variables which is something like: /** @type {myType} */ var thing = new myType( );
It gets way to verbose when compared to typescript which is something like: var thing : myType = new myType( );
|
|
Also, I think that the first example is more likely to be written as follows (in the case where type data cannot be inferred):
Whatever "..." may be. It's common to document the meaning of variables where explicit typing like this is important, just like in well-documented Java and PHP code.