Skip to content

Commit 7cd46ee

Browse files
committed
Fix to allow null in types
1 parent d305dd7 commit 7cd46ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
/**
2222
* Given an estree `node`, returns a unist `position`.
23-
* @param {NodeLike} [value]
23+
* @param {NodeLike|null} [value]
2424
* @returns {Position}
2525
*/
2626
export function positionFromEstree(value) {

0 commit comments

Comments
 (0)