You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 9, 2021. It is now read-only.
It doesn't seem possible to report properties on a class using this library. The example below works well in vanilla JSDoc, but the properties don't show up anywhere. The method does show up in the YAML although it doesn't mark it as async.
How do properties need to be annotated so that they turn up in the DocFX YAML?
/** * A fruit * @param name {string} - The name of the fruit * @property color {string} - The fruit's color * @property weight {float} - The fruit's weight. * @property sourceFarm {Object} - The farm the fruit was grown in. */classFruit{constructor(name){this.name=name;letfruitData=getFruitData(name);this.color=fruitData.color;this.weight=fruitData.weight;this.sourceFarm=fruitData.sourceFarm;/** Eat the fruit */asyncfunctioneat(){// Eat the fruit... }}