Skip to content

Commit cd8c600

Browse files
committed
Fix types for association
1 parent 634cc75 commit cd8c600

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/util/association.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/**
2-
* @typedef {import('mdast').Definition} Definition
3-
* @typedef {import('mdast').ImageReference} ImageReference
4-
* @typedef {import('mdast').LinkReference} LinkReference
2+
* @typedef {import('mdast').Association} Association
53
*/
64

75
import {decodeEntity} from 'parse-entities/decode-entity.js'
@@ -21,7 +19,7 @@ const characterReference = /&(#(\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi
2119
* it has whitespace, casing, and we can ignore most useless character escapes
2220
* and all character references.
2321
*
24-
* @param {Definition|ImageReference|LinkReference} node
22+
* @param {Association} node
2523
* @returns {string}
2624
*/
2725
export function association(node) {

0 commit comments

Comments
 (0)