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 Nov 14, 2024
1 parent 72e4803 commit ce4a081
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @typedef {import('hast').Root} Root
* @typedef {import('hast-util-raw').Options} RawOptions
* @typedef {import('vfile').VFile} VFile
* @import {Options as RawOptions} from 'hast-util-raw'
* @import {Root} from 'hast'
* @import {VFile} from 'vfile'
*/

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

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

0 comments on commit ce4a081

Please sign in to comment.