File tree 3 files changed +7
-1
lines changed
3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
2
* @typedef {import('./lib/index.js').Child } Child
3
3
* @typedef {import('./lib/index.js').Properties } Properties
4
+ * @typedef {import('./lib/index.js').Result } Result
4
5
*/
5
6
6
7
export { h , s } from './lib/index.js'
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @typedef {import('./core.js').HChild } Child
3
3
* @typedef {import('./core.js').HProperties } Properties
4
+ * @typedef {import('./core.js').HResult } Result
4
5
*/
5
6
6
7
export { h } from './html.js'
Original file line number Diff line number Diff line change @@ -254,7 +254,11 @@ different files.
254
254
## Types
255
255
256
256
This package is fully typed with [ TypeScript] [ ] .
257
- It exports the additional types ` Child ` and ` Properties ` .
257
+ It exports the additional types:
258
+
259
+ * ` Child ` — valid value used as a child
260
+ * ` Properties ` — valid properties passed to an element
261
+ * ` Result ` — output of a ` h ` (or ` s ` ) call
258
262
259
263
## Compatibility
260
264
You can’t perform that action at this time.
0 commit comments