-
-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4456ec4
commit 2e61687
Showing
73 changed files
with
2,083 additions
and
1,643 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 0 additions & 40 deletions
40
types/patches/0002-tsflower-rnsac-Fix-ReadOnlyArray-reference-to-litera.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Chris Bobbe <cbobbe@zulip.com> | ||
Date: Fri, 1 Sep 2023 18:05:02 -0700 | ||
Subject: [tsflower] rnsac: Use $ReadOnlyArray | ||
|
||
--- | ||
.../lib/typescript/src/SafeArea.types.js.flow | 4 +--- | ||
1 file changed, 1 insertion(+), 3 deletions(-) | ||
|
||
diff --git types/react-native-safe-area-context/lib/typescript/src/SafeArea.types.js.flow types/react-native-safe-area-context/lib/typescript/src/SafeArea.types.js.flow | ||
index 2a11287b6..c4e816378 100644 | ||
--- types/react-native-safe-area-context/lib/typescript/src/SafeArea.types.js.flow | ||
+++ types/react-native-safe-area-context/lib/typescript/src/SafeArea.types.js.flow | ||
@@ -17,9 +17,7 @@ export type EdgeMode = 'off' | 'additive' | 'maximum'; | ||
export type EdgeRecord = | ||
Partial<$FlowFixMe /* Record<Edge, EdgeMode> */ /* tsflower-unimplemented: Record with key type TypeReference */>; | ||
|
||
-export type Edges = | ||
- /* tsflower-warning: unimplemented: 'readonly' as type operator */ | ||
- Edge[] /* readonly Edge[] */ | Readonly<EdgeRecord>; | ||
+export type Edges = $ReadOnlyArray<Edge> | Readonly<EdgeRecord>; | ||
|
||
export interface EdgeInsets { | ||
top: number; | ||
-- | ||
2.32.0 | ||
|
26 changes: 26 additions & 0 deletions
26
types/patches/0003-tsflower-rnsac-Translate-a-TS-Record-type.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Chris Bobbe <cbobbe@zulip.com> | ||
Date: Fri, 1 Sep 2023 18:29:58 -0700 | ||
Subject: [tsflower] rnsac: Translate a TS `Record` type | ||
|
||
--- | ||
.../lib/typescript/src/SafeArea.types.js.flow | 3 +-- | ||
1 file changed, 1 insertion(+), 2 deletions(-) | ||
|
||
diff --git types/react-native-safe-area-context/lib/typescript/src/SafeArea.types.js.flow types/react-native-safe-area-context/lib/typescript/src/SafeArea.types.js.flow | ||
index c4e816378..3a71dca37 100644 | ||
--- types/react-native-safe-area-context/lib/typescript/src/SafeArea.types.js.flow | ||
+++ types/react-native-safe-area-context/lib/typescript/src/SafeArea.types.js.flow | ||
@@ -14,8 +14,7 @@ import 'react-native'; | ||
import NativeSafeAreaView from './specs/NativeSafeAreaView'; | ||
export type Edge = 'top' | 'right' | 'bottom' | 'left'; | ||
export type EdgeMode = 'off' | 'additive' | 'maximum'; | ||
-export type EdgeRecord = | ||
- Partial<$FlowFixMe /* Record<Edge, EdgeMode> */ /* tsflower-unimplemented: Record with key type TypeReference */>; | ||
+export type EdgeRecord = {| [Edge]: EdgeMode |}; | ||
|
||
export type Edges = $ReadOnlyArray<Edge> | Readonly<EdgeRecord>; | ||
|
||
-- | ||
2.32.0 | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.