Skip to content

Commit

Permalink
Fix type to allow undefined for props
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 5, 2021
1 parent b3335c3 commit bbc5151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function core(schema, defaultTagName, caseSensitive) {
* @type {{
* (): Root
* (selector: null|undefined, ...children: HChild[]): Root
* (selector: string, properties: HProperties, ...children: HChild[]): Element
* (selector: string, properties?: HProperties, ...children: HChild[]): Element
* (selector: string, ...children: HChild[]): Element
* }}
*/
Expand Down

0 comments on commit bbc5151

Please sign in to comment.