Skip to content

Commit

Permalink
Add missing Params layer to signature Blocks expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreeman committed Apr 8, 2022
1 parent d0b7752 commit 2f7de9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@glimmer/component/addon/-private/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ type _ExpandSignature<T> = {
Blocks: T extends { Blocks: infer Blocks }
? {
[Block in keyof Blocks]: Blocks[Block] extends unknown[]
? { Positional: Blocks[Block] }
: Blocks[Block]
? { Params: { Positional: Blocks[Block] } }
: Blocks[Block];
}
: EmptyObject;
};
Expand Down

0 comments on commit 2f7de9d

Please sign in to comment.