From 297bda8c68037fe915cc1c8a8609fb3d3589e9ab Mon Sep 17 00:00:00 2001 From: Bartosz Date: Wed, 7 Nov 2018 01:51:51 +0100 Subject: [PATCH] Fix Flow's maybe-type conversion --- types/expo-localization/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/expo-localization/index.d.ts b/types/expo-localization/index.d.ts index c0b97c9e68..21c6ca8756 100644 --- a/types/expo-localization/index.d.ts +++ b/types/expo-localization/index.d.ts @@ -17,12 +17,12 @@ export interface LocalizationProps { /** * Country code for your device */ - country: string | undefined; + country: string | undefined | null; /** * A list of all the supported ISO codes */ - isoCurrencyCodes: string[] | undefined; + isoCurrencyCodes: string[] | undefined | null; /** * The current time zone in display format. ex: `America/Los_Angeles` @@ -49,12 +49,12 @@ export namespace Localization { /** * Country code for your device */ - const country: string | undefined; + const country: string | undefined | null; /** * A list of all the supported ISO codes */ - const isoCurrencyCodes: string[] | undefined; + const isoCurrencyCodes: string[] | undefined | null; /** * The current time zone in display format. ex: `America/Los_Angeles`