Improve strictNullChecks support in right_panel (#10415)
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user