We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
enum Fruit { Apple = 'apple', Orange = 'orange' } class Test { fruit: Fruit = Fruit.Apple; }
Then I get:
{ fruit: { enum: ['apple', 'orange'], type: 'string', } }
I expect the default can be set in here.