Add export of Directive
type
This commit is contained in:
parent
27aed31e00
commit
c3cdc42fc3
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
/**
|
/**
|
||||||
|
* @typedef {import('./lib/html.js').Directive} Directive
|
||||||
* @typedef {import('./lib/html.js').Handle} Handle
|
* @typedef {import('./lib/html.js').Handle} Handle
|
||||||
* @typedef {import('./lib/html.js').HtmlOptions} HtmlOptions
|
* @typedef {import('./lib/html.js').HtmlOptions} HtmlOptions
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -292,8 +292,8 @@ this implementation mimics CommonMark as closely as possible:
|
||||||
## Types
|
## Types
|
||||||
|
|
||||||
This package is fully typed with [TypeScript][].
|
This package is fully typed with [TypeScript][].
|
||||||
It exports the additional types [`Handle`][api-handle] and
|
It exports the additional types [`Directive`][api-directive-type],
|
||||||
[`HtmlOptions`][api-html-options].
|
[`Handle`][api-handle], and [`HtmlOptions`][api-html-options].
|
||||||
|
|
||||||
## Compatibility
|
## Compatibility
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue