Skip to content

Commit 75a0ecc

Browse files
committed
Refactor to use @imports
1 parent ae554c2 commit 75a0ecc

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/**
2-
* @typedef {import('hast').Nodes} Nodes
3-
* @typedef {import('hast').Root} Root
4-
* @typedef {import('hast').RootContent} RootContent
2+
* @import {Nodes, RootContent, Root} from 'hast'
53
*/
64

75
/**

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @typedef {import('rehype-format').Options} Options
2+
* @import {Options} from 'rehype-format'
33
*/
44

55
import assert from 'node:assert/strict'

0 commit comments

Comments
 (0)