You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`checksSpreads`| Disallow `...` spreading an Observable. | Boolean |`true`|
65
+
|`checksVoidReturn`| Disallow returning an Observable from a function typed as returning `void`. | Object |`true`|
17
66
18
67
### `checksVoidReturn`
19
68
@@ -27,3 +76,7 @@ You can disable selective parts of the `checksVoidReturn` option. The following
27
76
|`properties`| Disallow providing an Observable-returning function where a function that returns `void` is expected by a property. | Boolean |`true`|
28
77
|`returns`| Disallow returning an Observable-returning function where a function that returns `void` is expected. | Boolean |`true`|
29
78
|`variables`| Disallow assigning or declaring an Observable-returning function where a function that returns `void` is expected. | Boolean |`true`|
79
+
80
+
## Further reading
81
+
82
+
-[TypeScript void function assignability](https://github.com/Microsoft/TypeScript/wiki/FAQ#why-are-functions-returning-non-void-assignable-to-function-returning-void)
0 commit comments