Make dispatcher/tracking.tsx strict

Summary: _typescript_

Reviewed By: jknoxville

Differential Revision: D17204302

fbshipit-source-id: 10b6add125bb6b500122c0a7a30eb8ed223a7ad8
This commit is contained in:
Pascal Hartig
2019-09-09 07:03:00 -07:00
committed by Facebook Github Bot
parent a60bcf7aca
commit 76e857041c

View File

@@ -53,8 +53,8 @@ export default (store: Store, logger: Logger) => {
return;
}
let app: string;
let sdkVersion: number;
let app: string | null = null;
let sdkVersion: number | null = null;
if (selectedApp) {
const client = clients.find((c: Client) => c.id === selectedApp);