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