CSharpToTypeScript
CSharpToTypeScript copied to clipboard
Using variable name as TypeScript comment
I don't know if that would be a complicated feature to add (I'll be glad to help but I know nothing about Extension's programming).
My idea would be to add Variables name as a comment name in TypeScript (so it can be viewed with Intellisense), and it could be toggled from extension's preference.
Simple Example :
Indicator.cs
public class Indicator
{
[JsonProperty("n")]
public string Name { get; set; }
}
Indicator.ts
export interface Indicator {
/** Name */
n: string;
}