Skip to content

Commit a5ad4d4

Browse files
committed
Add export of Runtime type
1 parent 6c84d55 commit a5ad4d4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/**
2-
* @typedef {import('./lib/index.js').Node} Node
32
* @typedef {import('./lib/index.js').Options} Options
3+
* @typedef {import('./lib/index.js').Runtime} Runtime
44
*
55
* @typedef {Options} BuildJsxOptions
6+
* To do: remove next major (replaced by `Options` ).
67
*/
78

89
export {buildJsx} from './lib/index.js'

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Some differences:
234234
## Types
235235
236236
This package is fully typed with [TypeScript][].
237-
It exports the additional type `Options`.
237+
It exports the additional type `Options` and `Runtime`.
238238
239239
## Compatibility
240240

0 commit comments

Comments
 (0)