Skip to content

Commit

Permalink
Add export of Runtime type
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jan 7, 2023
1 parent 6c84d55 commit a5ad4d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/**
* @typedef {import('./lib/index.js').Node} Node
* @typedef {import('./lib/index.js').Options} Options
* @typedef {import('./lib/index.js').Runtime} Runtime
*
* @typedef {Options} BuildJsxOptions
* To do: remove next major (replaced by `Options` ).
*/

export {buildJsx} from './lib/index.js'
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Some differences:
## Types
This package is fully typed with [TypeScript][].
It exports the additional type `Options`.
It exports the additional type `Options` and `Runtime`.
## Compatibility
Expand Down

0 comments on commit a5ad4d4

Please sign in to comment.