We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85ea3c2 commit 6fc4f27Copy full SHA for 6fc4f27
generate/component/sponsor/item.js
@@ -1,5 +1,5 @@
1
/**
2
- * @import {Element} from 'hast'
+ * @import {ElementContent, Element} from 'hast'
3
* @import {SponsorRaw as GhSponsor} from '../../../crawl/github-sponsors.js'
4
* @import {Sponsor as OcSponsor} from '../../../crawl/opencollective.js'
5
*/
@@ -18,6 +18,7 @@ const oc = 'https://opencollective.com/'
18
* @returns {Element}
19
20
export function item(d) {
21
+ /** @type {Array<ElementContent>} */
22
const footer = []
23
24
if ('oc' in d && d.oc) {
0 commit comments