Skip to content

Commit

Permalink
fix(io): model signals output compatibility
Browse files Browse the repository at this point in the history
fix #524
  • Loading branch information
federico-retviews authored and gund committed Jan 21, 2025
1 parent 4539161 commit 9ed8d69
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ export class SignalComponentIO implements ComponentIO {
}

private isOutputSignal(value: unknown): boolean {
return (
typeof value === 'object' &&
value !== null &&
typeof (value as any)['subscribe'] === 'function'
);
return value != null && typeof (value as any)['subscribe'] === 'function';
}
}

0 comments on commit 9ed8d69

Please sign in to comment.