Improve strictNullChecks support in right_panel (#10415)
This commit is contained in:
parent
853b3f822d
commit
ba36d2cc01
15 changed files with 63 additions and 52 deletions
|
@ -41,7 +41,7 @@ export enum RightPanelPhases {
|
|||
ThreadPanel = "ThreadPanel",
|
||||
}
|
||||
|
||||
export function backLabelForPhase(phase: RightPanelPhases): string | null {
|
||||
export function backLabelForPhase(phase: RightPanelPhases | null): string | null {
|
||||
switch (phase) {
|
||||
case RightPanelPhases.ThreadPanel:
|
||||
return _t("Threads");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue