Skip to content

Commit 7345547

Browse files
authored
fix: buildElement options should be optional
1 parent a397f48 commit 7345547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@glimmer/syntax/lib/v1/public-builders.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export interface BuildElementOptions {
202202
loc?: SourceSpan;
203203
}
204204

205-
function buildElement(tag: TagDescriptor, options: BuildElementOptions): ASTv1.ElementNode {
205+
function buildElement(tag: TagDescriptor, options: BuildElementOptions = {}): ASTv1.ElementNode {
206206
let { attrs, blockParams, modifiers, comments, children, loc } = options;
207207

208208
let tagName: string;

0 commit comments

Comments
 (0)