dimanche 26 mars 2017

TypeScript datatype reflection: is there a 'DataType' class?

I'm not sure whether classes are objects in TypeScript.

But would it be possible to code something like this? I couldn't find anything about it, so i'm assuming it's not possible, but still asking to make sure.

public datatype : DataType = String;





Aucun commentaire:

Enregistrer un commentaire