From 7e7cf24200b6f22f85749a217681815e45d07b45 Mon Sep 17 00:00:00 2001 From: Sam Zhou Date: Wed, 4 May 2022 14:17:28 -0700 Subject: [PATCH] Add annotations to unannotated variable declarations Summary: Changelog: [Internal] Reviewed By: gkz Differential Revision: D36114983 fbshipit-source-id: 2622e13ba19a372592967670b7d615688c0e9fd6 --- .../rn-tester/js/examples/PlatformColor/PlatformColorExample.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rn-tester/js/examples/PlatformColor/PlatformColorExample.js b/packages/rn-tester/js/examples/PlatformColor/PlatformColorExample.js index bdf72dce4bc..6ca70fe2859 100644 --- a/packages/rn-tester/js/examples/PlatformColor/PlatformColorExample.js +++ b/packages/rn-tester/js/examples/PlatformColor/PlatformColorExample.js @@ -15,7 +15,7 @@ const {DynamicColorIOS, PlatformColor, StyleSheet, Text, View} = ReactNative; function PlatformColorsExample() { function createTable() { - let colors = []; + let colors: Array<{color: $Call, label: string}> = []; if (Platform.OS === 'ios') { colors = [ // https://developer.apple.com/documentation/uikit/uicolor/ui_element_colors