mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add annotations to unannotated variable declarations
Summary: Changelog: [Internal] Reviewed By: gkz Differential Revision: D36114983 fbshipit-source-id: 2622e13ba19a372592967670b7d615688c0e9fd6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2596b2f695
commit
7e7cf24200
@@ -15,7 +15,7 @@ const {DynamicColorIOS, PlatformColor, StyleSheet, Text, View} = ReactNative;
|
||||
|
||||
function PlatformColorsExample() {
|
||||
function createTable() {
|
||||
let colors = [];
|
||||
let colors: Array<{color: $Call<typeof PlatformColor>, label: string}> = [];
|
||||
if (Platform.OS === 'ios') {
|
||||
colors = [
|
||||
// https://developer.apple.com/documentation/uikit/uicolor/ui_element_colors
|
||||
|
||||
Reference in New Issue
Block a user