nhabuiduc / TypescriptSyntaxPaste

Visual Studio Extension which convert C# SYNTAX to Typescript SYNTAX
70 stars 24 forks source link

optional interface members #9

Closed abbasmhd closed 7 years ago

abbasmhd commented 7 years ago

can you make the interface generate in typescript to have all its members marked as optional

export interface ILookup {
    description?: string; // notice the ? after the member name
}
nhabuiduc commented 7 years ago

I think I've already made it, is it the one you need?

https://github.com/nhabuiduc/TypescriptSyntaxPaste/issues/8

abbasmhd commented 7 years ago

yes that's the one i need thanks you, but i cannot see it in the options dialog. i have version 1.2.1 installed

image

nhabuiduc commented 7 years ago

I think something wrong with version showing in Vistual Studio Gallery now (it should be 1.2.4), for now, can you try download extension again, and try.

nhabuiduc commented 7 years ago

Hmm it's not in latest version, i will update it

nhabuiduc commented 7 years ago

Updated, please download again on Visualstudio Gallery

abbasmhd commented 7 years ago

thank you @nhabuiduc works like a charm