Skip to content

Commit

Permalink
Refactor to use @imports
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Sep 17, 2024
1 parent ae554c2 commit 75a0ecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/**
* @typedef {import('hast').Nodes} Nodes
* @typedef {import('hast').Root} Root
* @typedef {import('hast').RootContent} RootContent
* @import {Nodes, RootContent, Root} from 'hast'
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @typedef {import('rehype-format').Options} Options
* @import {Options} from 'rehype-format'
*/

import assert from 'node:assert/strict'
Expand Down

0 comments on commit 75a0ecc

Please sign in to comment.