We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cc4e05 commit f9844f0Copy full SHA for f9844f0
1 file changed
types/react-native/test/index.tsx
@@ -1435,7 +1435,6 @@ const PlatformConstantsTest = () => {
1435
const host: string | undefined = Platform.constants.ServerHost;
1436
}
1437
};
1438
-
1439
Platform.select({ native: 1 }); // $ExpectType number | undefined
1440
Platform.select({ native: 1, web: 2, default: 0 }); // $ExpectType number
1441
Platform.select({ android: 1 }); // $ExpectType number | undefined
0 commit comments