Skip to content

Commit 6d430f6

Browse files
committed
fix(observable): set Observable<void> as the default type
1 parent 992cb2e commit 6d430f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/Observable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { errorContext } from './util/errorContext';
1212
* A representation of any set of values over any amount of time. This is the most basic building block
1313
* of RxJS.
1414
*/
15-
export class Observable<T> implements Subscribable<T> {
15+
export class Observable<T = void> implements Subscribable<T> {
1616
/**
1717
* @deprecated Internal implementation detail, do not use directly. Will be made internal in v8.
1818
*/

0 commit comments

Comments
 (0)