Enhance player start navigation mode type checking
This commit is contained in:
@@ -904,7 +904,8 @@ function readPlayerStartNavigationMode(value: unknown, label: string) {
|
||||
value,
|
||||
label,
|
||||
"firstPerson",
|
||||
isPlayerStartNavigationMode
|
||||
(candidate): candidate is "firstPerson" | "thirdPerson" =>
|
||||
typeof candidate === "string" && isPlayerStartNavigationMode(candidate)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user