Skip to content

Commit 9ed8d69

Browse files
federico-retviewsgund
authored andcommitted
fix(io): model signals output compatibility
fix #524
1 parent 4539161 commit 9ed8d69

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

projects/ng-dynamic-component/signal-component-io/src/lib/signal-component-io.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ export class SignalComponentIO implements ComponentIO {
3333
}
3434

3535
private isOutputSignal(value: unknown): boolean {
36-
return (
37-
typeof value === 'object' &&
38-
value !== null &&
39-
typeof (value as any)['subscribe'] === 'function'
40-
);
36+
return value != null && typeof (value as any)['subscribe'] === 'function';
4137
}
4238
}

0 commit comments

Comments
 (0)