JSDoc overriding typedef properties

前端 未结 0 854
灰色年华
灰色年华 2021-01-14 13:40

In the example below I would like the FirstComponent to have data of type string[], but it\'s just any from BaseComponent.

/**
 * @typedef {{
 *  data: any
 *         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题