diff --git a/dev/index.js b/dev/index.js index 5999f02..e540120 100644 --- a/dev/index.js +++ b/dev/index.js @@ -1,4 +1,5 @@ /** + * @typedef {import('./lib/html.js').Directive} Directive * @typedef {import('./lib/html.js').Handle} Handle * @typedef {import('./lib/html.js').HtmlOptions} HtmlOptions */ diff --git a/readme.md b/readme.md index d990a0b..e8596d9 100644 --- a/readme.md +++ b/readme.md @@ -292,8 +292,8 @@ this implementation mimics CommonMark as closely as possible: ## Types This package is fully typed with [TypeScript][]. -It exports the additional types [`Handle`][api-handle] and -[`HtmlOptions`][api-html-options]. +It exports the additional types [`Directive`][api-directive-type], +[`Handle`][api-handle], and [`HtmlOptions`][api-html-options]. ## Compatibility