Skip to content

Commit

Permalink
Fix types for changes in TS 4.9
Browse files Browse the repository at this point in the history
Related-to: GH-337.
  • Loading branch information
wooorm committed Feb 28, 2023
1 parent 9f34248 commit ca69a19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ engine(
)

/**
* @type {import('unified-engine').ConfigTransform}
* @param {import('./index.js').OptionsObject} [options]
*/
function transform(options = {}) {
Expand Down
2 changes: 1 addition & 1 deletion filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import remarkMessageControl from 'remark-message-control'

/** @type {import('unified').Plugin<[Options?]|[], Root>} */
/** @type {import('unified').Plugin<[Options?], Root>} */
export function filter(options = {}) {
if (options.allow && options.deny) {
throw new Error(
Expand Down

0 comments on commit ca69a19

Please sign in to comment.