TypeAware / oredoc

Node.js ApiDoc generator (programmatic)
MIT License
1 stars 0 forks source link

create an optional/required marker #2

Open ORESoftware opened 5 years ago

ORESoftware commented 5 years ago

normally it would be:

{
  prop: 5
}

but now it becomes:

{
  [symbols.optional]: ['prop'],
  prop: 5
}