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
forbiddenVoidReturnArgument: 'Observable returned in function argument where a void return was expected.',
22
+
forbiddenVoidReturnAttribute: 'Observable-returning function provided to attribute where a void return was expected.',
23
+
forbiddenVoidReturnInheritedMethod: 'Observable-returning method provided where a void return was expected by extended/implemented type \'{{heritageTypeName}}\'.',
24
+
forbiddenVoidReturnProperty: 'Observable-returning function provided to property where a void return was expected.',
25
+
forbiddenVoidReturnReturnValue: 'Observable-returning function provided to return value where a void return was expected.',
26
+
forbiddenVoidReturnVariable: 'Observable-returning function provided to variable where a void return was expected.',
20
27
forbiddenSpread: 'Expected a non-Observable value to be spread into an object.',
21
28
},
22
29
schema: [
23
30
{
24
31
properties: {
32
+
checksVoidReturn: {type: 'boolean',default: true,description: 'Disallow returning an Observable from a function typed as returning `void`.'},
25
33
checksSpreads: {type: 'boolean',default: true,description: 'Disallow `...` spreading an Observable.'},
0 commit comments