Skip to content

Commit

Permalink
refactor: specify generator return type
Browse files Browse the repository at this point in the history
  • Loading branch information
KazariEX committed Nov 2, 2024
1 parent ea97969 commit a224ae7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function* generateElementEvents(
componentInstanceVar: string,
emitVar: string,
eventsVar: string
): Generator<Code> {
): Generator<Code, boolean> {
let usedComponentEventsVar = false;
let propsVar: string | undefined;
for (const prop of node.props) {
Expand Down

0 comments on commit a224ae7

Please sign in to comment.