Conform more of the codebase to strictNullChecks
(#10738)
This commit is contained in:
parent
5e8488c283
commit
52017f62e1
18 changed files with 105 additions and 84 deletions
|
@ -47,7 +47,7 @@ export class PushRuleVectorState {
|
|||
*
|
||||
* @return [object] list of push-rule actions
|
||||
*/
|
||||
public static actionsFor(pushRuleVectorState: VectorState): PushRuleAction[] {
|
||||
public static actionsFor(pushRuleVectorState?: VectorState): PushRuleAction[] {
|
||||
if (pushRuleVectorState === VectorState.On) {
|
||||
return StandardActions.ACTION_NOTIFY;
|
||||
} else if (pushRuleVectorState === VectorState.Loud) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue