I am developing applications using knockout with MVC and EF, and I am watching how adding TypeScript to the recipe can help me.
I like the cleanup mechanism for development in the IDE, but the missing thing seems to be the ability to refer to interfaces defined in TypeScript from other .NET collections.
Am I right that nothing prevents this from happening otherwise than it was done? I am curious if there is a demand for it or if I consider the problem area in such a way that others are not.
The reason I see the utility is because I currently have no way to define this DTO in only one place. I must either authorize them separately in my C # View model, or in javascript / typescript, or I need to use something like a knockout display plugin that is too "magical" for my tastes.
Note I do not ask to convert .NET TypeScript. I just like TypeScript interfaces for creating usable .NET POCO types.
Note2 : I just found http://typescript.codeplex.com/ which does what I ask in the opposite direction (from .NET to typescript), and this may be enough for the problem that I am expressing in this question.
source share