Improve quality of Typescripting (#25232)
This commit is contained in:
parent
c0e070934a
commit
9e6467c684
6 changed files with 19 additions and 8 deletions
|
@ -30,7 +30,7 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
|
|||
const brand = SdkConfig.get("brand");
|
||||
const mobileBuilds = SdkConfig.get("mobile_builds");
|
||||
|
||||
let ios = null;
|
||||
let ios: JSX.Element | undefined;
|
||||
const iosCustomUrl = mobileBuilds?.ios;
|
||||
if (iosCustomUrl !== null) {
|
||||
// could be undefined or a string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue