File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11/**
22 * @typedef {import('./lib/index.js').Child } Child
33 * @typedef {import('./lib/index.js').Properties } Properties
4+ * @typedef {import('./lib/index.js').Result } Result
45 */
56
67export { h , s } from './lib/index.js'
Original file line number Diff line number Diff line change 11/**
22 * @typedef {import('./core.js').HChild } Child
33 * @typedef {import('./core.js').HProperties } Properties
4+ * @typedef {import('./core.js').HResult } Result
45 */
56
67export { h } from './html.js'
Original file line number Diff line number Diff line change @@ -254,7 +254,11 @@ different files.
254254## Types
255255
256256This 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
258262
259263## Compatibility
260264
You can’t perform that action at this time.
0 commit comments