Skip to content

Commit bbc5151

Browse files
committed
Fix type to allow undefined for props
1 parent b3335c3 commit bbc5151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function core(schema, defaultTagName, caseSensitive) {
4242
* @type {{
4343
* (): Root
4444
* (selector: null|undefined, ...children: HChild[]): Root
45-
* (selector: string, properties: HProperties, ...children: HChild[]): Element
45+
* (selector: string, properties?: HProperties, ...children: HChild[]): Element
4646
* (selector: string, ...children: HChild[]): Element
4747
* }}
4848
*/

0 commit comments

Comments
 (0)