Skip to content

Commit 6fc4f27

Browse files
committed
Fix types
1 parent 85ea3c2 commit 6fc4f27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

generate/component/sponsor/item.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @import {Element} from 'hast'
2+
* @import {ElementContent, Element} from 'hast'
33
* @import {SponsorRaw as GhSponsor} from '../../../crawl/github-sponsors.js'
44
* @import {Sponsor as OcSponsor} from '../../../crawl/opencollective.js'
55
*/
@@ -18,6 +18,7 @@ const oc = 'https://opencollective.com/'
1818
* @returns {Element}
1919
*/
2020
export function item(d) {
21+
/** @type {Array<ElementContent>} */
2122
const footer = []
2223

2324
if ('oc' in d && d.oc) {

0 commit comments

Comments
 (0)