text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Tue, 8 Nov 2022 13:50:31 -0800
Subject: [???] r-n-safe-area-c: Substitute for InstanceType
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This is an accurate... | /content/code_sandbox/types/patches/0044-r-n-safe-area-c-Substitute-for-InstanceType.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 342 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Tue, 24 May 2022 22:12:21 -0700
Subject: =?UTF-8?q?[upstream]=20rnav:=20Covariant=20indexers=20in=20create?=
=?UTF-8?q?=E2=80=A6Navigator?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Co... | /content/code_sandbox/types/patches/0008-upstream-rnav-Covariant-indexers-in-create-Navigator.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 761 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Fri, 27 May 2022 14:06:59 -0700
Subject: [tsflower] Resolve re-export indirection on CommonActions
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
What's happ... | /content/code_sandbox/types/patches/0018-tsflower-Resolve-re-export-indirection-on-CommonActi.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 543 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Wed, 20 Jul 2022 15:49:54 -0700
Subject: [shortcut] expo-screen-orientation: Clear out unused
withScreenOrientation
---
.../build/withScreenOrientation.js.flow | 44 +------------------
1 f... | /content/code_sandbox/types/patches/0039-shortcut-expo-screen-orientation-Clear-out-unused-wi.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 602 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Fri, 27 May 2022 13:02:49 -0700
Subject: [tsflower] Handle TS reference pragma for React in material-top-tabs
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
... | /content/code_sandbox/types/patches/0017-tsflower-Handle-TS-reference-pragma-for-React-in-mat.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 828 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Fri, 3 Jun 2022 17:17:50 -0700
Subject: [format] Add a few prettier-ignores to work around a Prettier
instability bug
Discussion with a reduced repro of the Prettier bug:
path_to_url#issuecomment-1... | /content/code_sandbox/types/patches/0001-format-Add-a-few-prettier-ignores-to-work-around-a-P.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 876 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Tue, 24 May 2022 22:55:13 -0700
Subject: =?UTF-8?q?[upstream]=20rnav:=20create=E2=80=A6Navigator=20type=20?=
=?UTF-8?q?surely=20means=20to=20refer=20back=20to=20ParamList=20here?=
MIME-Version: 1.0
Co... | /content/code_sandbox/types/patches/0010-upstream-rnav-create-Navigator-type-surely-means-to-.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 652 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Fri, 1 Sep 2023 18:40:34 -0700
Subject: [tsflower] rnsac: Find NativeMethods and import properly
---
.../lib/typescript/src/SafeAreaView.js.flow | 4 ++--
1 file changed, 2 inser... | /content/code_sandbox/types/patches/0048-tsflower-rnsac-Find-NativeMethods-and-import-properl.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 432 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Mon, 25 Jul 2022 14:35:00 -0700
Subject: [tsflower] expo-modules-core: Copy PlatformOSType from
@types/react-native
---
types/expo-modules-core/build/Platform.js.flow | 4 +++-
1 file changed, 3 ... | /content/code_sandbox/types/patches/0034-tsflower-expo-modules-core-Copy-PlatformOSType-from-.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 310 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Thu, 22 Dec 2022 12:03:43 -0500
Subject: [tsflower] r-n-open-notification: Translate a ModuleDeclaration
---
types/react-native-open-notification/index.js.flow | 12 +++++-------
1 file changed, 5... | /content/code_sandbox/types/patches/0045-tsflower-r-n-open-notification-Translate-a-ModuleDec.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 276 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Fri, 26 Jan 2024 11:43:38 -0800
Subject: [tsflower] Fix a `typeof` to `type` in Int32 import
---
.../clipboard/dist/NativeClipboardModule.js.flow | 2 +-
1 file changed, 1 insertion... | /content/code_sandbox/types/patches/0050-tsflower-Fix-a-typeof-to-type-in-Int32-import.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 322 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Tue, 8 Nov 2022 13:02:55 -0800
Subject: [tsflower] camera-roll: Mark statics as static
Seems like TsFlower is just not propagating the `static` modifier.
Should be easy to fix, then.
---
.../lib/type... | /content/code_sandbox/types/patches/0043-tsflower-camera-roll-Mark-statics-as-static.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 629 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Tue, 24 May 2022 18:48:07 -0700
Subject: [upstream] rnav: Fix State tparam bound in NavigationProp
The state should be one that's valid for this param list,
not some other.
---
types/@react-navigatio... | /content/code_sandbox/types/patches/0007-upstream-rnav-Fix-State-tparam-bound-in-NavigationPr.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 328 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Fri, 1 Sep 2023 18:21:09 -0700
Subject: [tsflower] Import TurboModule type using path that works
I think TsFlower's `subst/react-native` could handle this, with
something like (untested):
export t... | /content/code_sandbox/types/patches/0030-tsflower-Import-TurboModule-type-using-path-that-wor.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 753 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Tue, 24 May 2022 23:00:44 -0700
Subject: =?UTF-8?q?[upstream]=20rnav:=20On=20create=E2=80=A6Navigator,=20c?=
=?UTF-8?q?ut=20redundant=20wrong=20version=20of=20DefaultNav=E2=80=A6Opti?=
=?UTF-8?q?ons?... | /content/code_sandbox/types/patches/0011-upstream-rnav-On-create-Navigator-cut-redundant-wron.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 751 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Fri, 1 Sep 2023 18:46:31 -0700
Subject: [tsflower] rnsac: Translate an "import type"
TsFlower has a TODO for this:
path_to_url#narrow/stream/243-mobile-team/topic/tsflower.3A.20TS.20import.20type... | /content/code_sandbox/types/patches/0049-tsflower-rnsac-Translate-an-import-type.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 505 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Wed, 20 Jul 2022 15:46:32 -0700
Subject: [tsflower] expo-screen-orientation: Fix export { ... } of types
---
.../build/ScreenOrientation.js.flow | 38 +++++++++----------
1 file changed,... | /content/code_sandbox/types/patches/0038-tsflower-expo-screen-orientation-Fix-export-.-of-typ.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 576 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Tue, 7 Jun 2022 21:08:51 -0700
Subject: [tsflower] Fix `import typeof` to `import type` for Flow-only types
I don't understand why TsFlower emitted `typeof` here; will have to
debug.
Probably a key p... | /content/code_sandbox/types/patches/0028-tsflower-Fix-import-typeof-to-import-type-for-Flow-o.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 966 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Fri, 27 May 2022 15:00:54 -0700
Subject: [tsflower] Better substitution for React.ForwardRefExoticComponent
---
.../lib/typescript/src/NavigationContainer.js.flow | 9 +++++++--
1 file changed,... | /content/code_sandbox/types/patches/0020-tsflower-Better-substitution-for-React.ForwardRefExo.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 460 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Mon, 30 Jan 2023 16:21:55 -0800
Subject: [tsflower] expo-mail-composer: Translate TS enum MailComposerStatus
---
.../build/MailComposer.types.js.flow | 17 ++++++++---------
1 file chan... | /content/code_sandbox/types/patches/0047-tsflower-expo-mail-composer-Translate-TS-enum-MailCo.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 386 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Tue, 24 May 2022 17:43:11 -0700
Subject: [upstream] rnav: $ReadOnly on ResetState as param of reset()
---
.../routers/lib/typescript/src/CommonActions.js.flow | 2 +-
1 file changed, 1 ins... | /content/code_sandbox/types/patches/0005-upstream-rnav-ReadOnly-on-ResetState-as-param-of-res.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 285 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Tue, 24 May 2022 18:57:24 -0700
Subject: [adhoc] rnav: Manually approximate conditional in Route
In the upstream definition, this is a conditional type that's basically
undefined extends T ? { re... | /content/code_sandbox/types/patches/0023-adhoc-rnav-Manually-approximate-conditional-in-Route.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 580 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Tue, 31 May 2022 22:27:22 -0700
Subject: [adhoc] rnav: Manually approximate conditionals in EventArg
One of these is the same "contains undefined => optional" pattern
as in Route in the previous patch... | /content/code_sandbox/types/patches/0024-adhoc-rnav-Manually-approximate-conditionals-in-Even.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 503 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Wed, 20 Jul 2022 14:43:41 -0700
Subject: [tsflower] expo-application: Translate a TS enum
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Alas, we thought ... | /content/code_sandbox/types/patches/0036-tsflower-expo-application-Translate-a-TS-enum.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 881 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Tue, 10 Jan 2023 10:40:01 -0800
Subject: [tsflower] Fill in simple types from @types/react-native; rewrite TS
`Pick`
For more discussion of how to translate TS's `Pick` helper, see a
previous patc... | /content/code_sandbox/types/patches/0046-tsflower-Fill-in-simple-types-from-types-react-nativ.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 594 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Mon, 26 Sep 2022 16:57:08 +0800
Subject: [tsflower] expo-web-browser: Translate TS enum WebBrowserResultType
Read more about our approach in the recent patch that translated a
TS enum in expo-appli... | /content/code_sandbox/types/patches/0040-tsflower-expo-web-browser-Translate-TS-enum-WebBrows.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 924 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Tue, 24 May 2022 23:51:09 -0700
Subject: [upstream optional] rnav: Fix NavigationRoute to supply ParamList
"Optional" because although this seems like a more accurate type,
we don't in the end have an... | /content/code_sandbox/types/patches/0012-upstream-optional-rnav-Fix-NavigationRoute-to-supply.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 383 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Tue, 24 May 2022 22:39:40 -0700
Subject: [tsflower] rnav: Fix a parenthesization of intersection vs. union
In the upstream definition, this is `A & (B | C | D)`. TsFlower
emitted `A & B | C | D` -- w... | /content/code_sandbox/types/patches/0016-tsflower-rnav-Fix-a-parenthesization-of-intersection.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 741 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Wed, 20 Jul 2022 15:29:34 -0700
Subject: [tsflower] expo-screen-orientation: Translate TS enums
As we did for expo-application; see that recent patch for why we
can't just convert these to Flow enu... | /content/code_sandbox/types/patches/0037-tsflower-expo-screen-orientation-Translate-TS-enums.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 2,493 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Fri, 27 May 2022 14:21:30 -0700
Subject: [tsflower] Fix `import type` of classes
This stems from the subtle difference in semantics between
`import type` in TS and `import type` in Flow. It should be... | /content/code_sandbox/types/patches/0019-tsflower-Fix-import-type-of-classes.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 669 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Mon, 25 Jul 2022 13:56:36 -0700
Subject: [tsflower] expo-modules-core: Fix export { ... } of types
---
types/expo-modules-core/build/index.js.flow | 10 ++++++----
1 file changed, 6 insertions(+),... | /content/code_sandbox/types/patches/0032-tsflower-expo-modules-core-Fix-export-.-of-types.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 466 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Fri, 27 May 2022 15:18:01 -0700
Subject: [tsflower] Manually rewrite Pick, from TS default library
There's no way to write Pick as a generic type in the Flow type
system; we'll need to implement it as... | /content/code_sandbox/types/patches/0021-tsflower-Manually-rewrite-Pick-from-TS-default-libra.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 3,034 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Greg Price <greg@zulip.com>
Date: Tue, 24 May 2022 23:09:28 -0700
Subject: [irreducible] rnav: Covariant type parameters on various types
Namely RouteProp, Route, NavigationRoute, {Foo,}NavigationProp,
NavigationHelpersCommon, Navigat... | /content/code_sandbox/types/patches/0014-irreducible-rnav-Covariant-type-parameters-on-variou.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 1,695 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Mon, 25 Jul 2022 14:08:52 -0700
Subject: [upstream?] expo-modules-core: Comment/suppress
DeviceEventEmitterStatic
---
types/expo-modules-core/build/index.js.flow | 9 ++++++++-
1 file changed, 8 ... | /content/code_sandbox/types/patches/0033-upstream-expo-modules-core-Comment-suppress-DeviceEv.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 467 |
```unknown
/* @flow
* @generated
*/
export * from './build/MailComposer.js.flow';
``` | /content/code_sandbox/types/expo-mail-composer/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 21 |
```unknown
/* @flow
* @generated by TsFlower
*/
import { type MailComposerOptions, type MailComposerResult } from './MailComposer.types';
declare export function composeAsync(options: MailComposerOptions): Promise<MailComposerResult>;
declare export function isAvailableAsync(): Promise<boolean>;
export * from './Mail... | /content/code_sandbox/types/expo-mail-composer/build/MailComposer.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 67 |
```unknown
/* @flow
* @generated by TsFlower
*/
export type MailComposerOptions = {
recipients?: string[],
ccRecipients?: string[],
bccRecipients?: string[],
subject?: string,
body?: string,
isHtml?: boolean,
attachments?: string[],
...
};
export type MailComposerResult = { status: MailComposerStatus... | /content/code_sandbox/types/expo-mail-composer/build/MailComposer.types.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 141 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { ProxyNativeModule as $tsflower_import_type$_$expo_2d_modules_2d_core$ProxyNativeModule } from 'expo-modules-core';
declare var _default: $tsflower_import_type$_$expo_2d_modules_2d_core$ProxyNativeModule;
export default _default;
``` | /content/code_sandbox/types/expo-mail-composer/build/ExpoMailComposer.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 79 |
```diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Chris Bobbe <cbobbe@zulip.com>
Date: Mon, 25 Jul 2022 13:35:00 -0700
Subject: [tsflower] expo-web-browser: Translate TS enum
WebBrowserPresentationStyle
Read more about our approach in the recent patch that translated a
TS enum in ex... | /content/code_sandbox/types/patches/0041-tsflower-expo-web-browser-Translate-TS-enum-WebBrows.patch | diff | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 1,183 |
```unknown
/* @flow
* @generated
*/
export * from './lib/typescript/src/index.js.flow';
``` | /content/code_sandbox/types/react-native-tab-view/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 22 |
```unknown
/* @flow
* @generated by TsFlower
*/
declare export default function memoize<
Result,
Deps: /* tsflower-warning: unimplemented: 'readonly' as type operator */
any[] /* readonly any[] */,
>(
callback: (...deps: Deps) => Result,
): (...dependencies: Deps) => Result;
``` | /content/code_sandbox/types/react-native-tab-view/lib/typescript/src/memoize.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 75 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
ReactNode as $tsflower_subst$React$ReactNode,
JSX$Element as $tsflower_subst$React$JSX$Element,
} from 'tsflower/subst/react';
import type {
StyleProp as $tsflower_subst$RN$StyleProp,
ViewStyle as $tsflower_subst$RN$ViewStyle,
} from 'tsflower/sub... | /content/code_sandbox/types/react-native-tab-view/lib/typescript/src/SceneView.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 350 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { ReactNode as $tsflower_subst$React$ReactNode } from 'tsflower/subst/react';
import * as React from 'react';
import { type Props } from './Pager';
import { type Route } from './types';
type State = {
initialOffset: {
x: number,
y: number,
...... | /content/code_sandbox/types/react-native-tab-view/lib/typescript/src/ScrollPager.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 246 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
ReactNode as $tsflower_subst$React$ReactNode,
ComponentProps as $tsflower_subst$React$ComponentProps,
JSX$Element as $tsflower_subst$React$JSX$Element,
} from 'tsflower/subst/react';
import type {
StyleProp as $tsflower_subst$RN$StyleProp,
ViewS... | /content/code_sandbox/types/react-native-tab-view/lib/typescript/src/TabView.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 728 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
ReactNode as $tsflower_subst$React$ReactNode,
ComponentProps as $tsflower_subst$React$ComponentProps,
RefObject as $tsflower_subst$React$RefObject,
Context as $tsflower_subst$React$Context,
} from 'tsflower/subst/react';
import * as React from 're... | /content/code_sandbox/types/react-native-tab-view/lib/typescript/src/Pager.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 718 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
ReactNode as $tsflower_subst$React$ReactNode,
JSX$Element as $tsflower_subst$React$JSX$Element,
} from 'tsflower/subst/react';
import type {
LayoutChangeEvent as $tsflower_subst$RN$LayoutChangeEvent,
StyleProp as $tsflower_subst$RN$StyleProp,
Te... | /content/code_sandbox/types/react-native-tab-view/lib/typescript/src/TabBarItem.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 519 |
```unknown
/* @flow
* @generated by TsFlower
*/
export { default as TabBar } from './TabBar';
export { Props as TabBarProps } from './TabBar';
export { default as TabView } from './TabView';
export { Props as TabViewProps } from './TabView';
export { default as TabBarIndicator } from './TabBarIndicator';
export { Pro... | /content/code_sandbox/types/react-native-tab-view/lib/typescript/src/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 170 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
StyleProp as $tsflower_subst$RN$StyleProp,
ViewStyle as $tsflower_subst$RN$ViewStyle,
} from 'tsflower/subst/react-native';
import type { JSX$Element as $tsflower_subst$React$JSX$Element } from 'tsflower/subst/react';
import * as React from 'react';
i... | /content/code_sandbox/types/react-native-tab-view/lib/typescript/src/TabBarIndicator.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 269 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { JSX$Element as $tsflower_subst$React$JSX$Element } from 'tsflower/subst/react';
import * as React from 'react';
import { type SceneRendererProps } from './types';
declare export default function SceneMap<T: any>(scenes: {
[key: string]: React.ComponentTy... | /content/code_sandbox/types/react-native-tab-view/lib/typescript/src/SceneMap.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 114 |
```unknown
/* @flow
* @generated by TsFlower
*/
import Animated from 'react-native-reanimated';
export type Route = {
key: string,
icon?: string,
title?: string,
accessible?: boolean,
accessibilityLabel?: string,
testID?: string,
...
};
export type Event = {
defaultPrevented: boolean,
preventDefau... | /content/code_sandbox/types/react-native-tab-view/lib/typescript/src/types.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 345 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
ViewProps as $tsflower_subst$RN$ViewProps,
StyleProp as $tsflower_subst$RN$StyleProp,
ViewStyle as $tsflower_subst$RN$ViewStyle,
} from 'tsflower/subst/react-native';
import type {
ReactNode as $tsflower_subst$React$ReactNode,
JSX$Element as $ts... | /content/code_sandbox/types/react-native-tab-view/lib/typescript/src/TouchableItem.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 270 |
```unknown
/* @flow
* @generated
*/
export * from './build/Application.js.flow';
``` | /content/code_sandbox/types/expo-application/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 19 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { ProxyNativeModule as $tsflower_import_type$_$expo_2d_modules_2d_core$ProxyNativeModule } from 'expo-modules-core';
declare var _default: $tsflower_import_type$_$expo_2d_modules_2d_core$ProxyNativeModule;
export default _default;
``` | /content/code_sandbox/types/expo-application/build/ExpoApplication.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 79 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
ReactNode as $tsflower_subst$React$ReactNode,
JSX$Element as $tsflower_subst$React$JSX$Element,
} from 'tsflower/subst/react';
import type {
StyleProp as $tsflower_subst$RN$StyleProp,
ViewStyle as $tsflower_subst$RN$ViewStyle,
TextStyle as $tsfl... | /content/code_sandbox/types/react-native-tab-view/lib/typescript/src/TabBar.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 934 |
```unknown
/* @flow
* @generated by TsFlower
*/
``` | /content/code_sandbox/types/expo-application/build/Application.types.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 14 |
```unknown
/* @flow
* @generated by TsFlower
*/
declare export var nativeApplicationVersion: string | null;
declare export var nativeBuildVersion: string | null;
declare export var applicationName: string | null;
declare export var applicationId: string | null;
declare export var androidId: string | null;
declare exp... | /content/code_sandbox/types/expo-application/build/Application.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 222 |
```unknown
/* @flow
* @generated
*/
export * from './dist/index.js.flow';
``` | /content/code_sandbox/types/@react-native-clipboard/clipboard/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 19 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { EmitterSubscription as $tsflower_subst$RN$EmitterSubscription } from 'tsflower/subst/react-native';
import 'react-native';
declare export var Clipboard: {
getString(): Promise<string>,
getStrings(): Promise<string[]>,
getImagePNG(): Promise<string>,... | /content/code_sandbox/types/@react-native-clipboard/clipboard/dist/Clipboard.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 187 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { EmitterSubscription as $tsflower_subst$RN$EmitterSubscription } from 'tsflower/subst/react-native';
import { type TurboModule } from 'react-native/Libraries/TurboModule/RCTExport';
import { type Int32 } from 'react-native/Libraries/Types/CodegenTypes';
ex... | /content/code_sandbox/types/@react-native-clipboard/clipboard/dist/NativeClipboardModule.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 274 |
```unknown
/* @flow
* @generated by TsFlower
*/
import { Clipboard } from './Clipboard';
export { useClipboard } from './useClipboard';
export default Clipboard;
``` | /content/code_sandbox/types/@react-native-clipboard/clipboard/dist/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 36 |
```unknown
/* @flow
* @generated by TsFlower
*/
declare export var useClipboard: () => [string, (content: string) => void];
``` | /content/code_sandbox/types/@react-native-clipboard/clipboard/dist/useClipboard.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 33 |
```unknown
/* @flow
* @generated
*/
export * from './lib/typescript/index.js.flow';
``` | /content/code_sandbox/types/react-native-document-picker/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 21 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { EmitterSubscription as $tsflower_subst$RN$EmitterSubscription } from 'tsflower/subst/react-native';
import 'react-native';
import { type TurboModule } from 'react-native/Libraries/TurboModule/RCTExport';
export interface Spec extends TurboModule {
getCo... | /content/code_sandbox/types/@react-native-clipboard/clipboard/dist/NativeClipboard.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 262 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { Readonly } from 'tsflower/subst/lib';
declare var mimeTypes: Readonly<{
+allFiles: '*/*',
+audio: 'audio/*',
+csv: 'text/csv',
+doc: 'application/msword',
+docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
+image... | /content/code_sandbox/types/react-native-document-picker/lib/typescript/fileTypes.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 1,487 |
```unknown
/* @flow
* @generated
*/
export * from './lib/typescript/src/index.js.flow';
``` | /content/code_sandbox/types/react-native-safe-area-context/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 22 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { EdgeInsets as $tsflower_import_type$_$_2e__2e__2f_src_2f_SafeArea_2e_types$EdgeInsets } from '../src/SafeArea.types';
import type { Rect as $tsflower_import_type$_$_2e__2e__2f_src_2f_SafeArea_2e_types$Rect } from '../src/SafeArea.types';
import type {
J... | /content/code_sandbox/types/react-native-safe-area-context/lib/typescript/jest/mock.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 386 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { NativeMethods } from 'react-native/Libraries/Renderer/shims/ReactNativeTypes';
import type {
ForwardRefExoticComponent as $tsflower_subst$React$ForwardRefExoticComponent,
RefAttributes as $tsflower_subst$React$RefAttributes,
} from 'tsflower/subst/rea... | /content/code_sandbox/types/react-native-safe-area-context/lib/typescript/src/SafeAreaView.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 194 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { Readonly } from 'tsflower/subst/lib';
import { type PlatformTypes, type SupportedPlatforms } from './fileTypes';
export type DocumentPickerResponse = {
uri: string,
name: string | null,
copyError?: string,
fileCopyUri: string | null,
type: strin... | /content/code_sandbox/types/react-native-document-picker/lib/typescript/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 2,475 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { Partial, Readonly } from 'tsflower/subst/lib';
import type {
NativeSyntheticEvent as $tsflower_subst$RN$NativeSyntheticEvent,
ViewProps as $tsflower_subst$RN$ViewProps,
} from 'tsflower/subst/react-native';
import type { ReactNode as $tsflower_subst$... | /content/code_sandbox/types/react-native-safe-area-context/lib/typescript/src/SafeArea.types.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 415 |
```unknown
/* @flow
* @generated by TsFlower
*/
import NativeSafeAreaProvider from './specs/NativeSafeAreaProvider';
export { NativeSafeAreaProvider };
``` | /content/code_sandbox/types/react-native-safe-area-context/lib/typescript/src/NativeSafeAreaProvider.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 35 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
Context as $tsflower_subst$React$Context,
ReactNode as $tsflower_subst$React$ReactNode,
JSX$Element as $tsflower_subst$React$JSX$Element,
ForwardRefExoticComponent as $tsflower_subst$React$ForwardRefExoticComponent,
PropsWithoutRef as $tsflower_s... | /content/code_sandbox/types/react-native-safe-area-context/lib/typescript/src/SafeAreaContext.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 473 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { JSX$Element as $tsflower_subst$React$JSX$Element } from 'tsflower/subst/react';
import * as React from 'react';
import { type NativeSafeAreaProviderProps } from './SafeArea.types';
declare export function CompatNativeSafeAreaProvider(
NativeSafeAreaProvi... | /content/code_sandbox/types/react-native-safe-area-context/lib/typescript/src/CompatNativeSafeAreaProvider.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 96 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { EdgeInsets as $tsflower_import_type$_$_2e__2f_SafeArea_2e_types$EdgeInsets } from './SafeArea.types';
import { type Metrics } from './SafeArea.types';
declare export var initialWindowMetrics: Metrics | null;
declare export var initialWindowSafeAreaInsets: ... | /content/code_sandbox/types/react-native-safe-area-context/lib/typescript/src/InitialWindow.native.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 102 |
```unknown
/* @flow
* @generated by TsFlower
*/
import { type EdgeInsets, type Metrics } from './SafeArea.types';
declare export var initialWindowMetrics: Metrics | null;
declare export var initialWindowSafeAreaInsets: EdgeInsets | null;
``` | /content/code_sandbox/types/react-native-safe-area-context/lib/typescript/src/InitialWindow.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 52 |
```unknown
/* @flow
* @generated by TsFlower
*/
export * from './SafeAreaContext';
export * from './SafeAreaView';
export * from './InitialWindow';
export * from './SafeArea.types';
``` | /content/code_sandbox/types/react-native-safe-area-context/lib/typescript/src/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 44 |
```unknown
/* @flow
* @generated by TsFlower
*/
import { type TurboModule } from 'react-native/Libraries/TurboModule/RCTExport';
import { type Double } from 'react-native/Libraries/Types/CodegenTypes';
export interface Spec extends TurboModule {
getConstants: () => {
initialWindowMetrics?: {
insets: {
... | /content/code_sandbox/types/react-native-safe-area-context/lib/typescript/src/specs/NativeSafeAreaContext.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 151 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { Readonly } from 'tsflower/subst/lib';
import type { ViewProps as $tsflower_subst$RN$ViewProps } from 'tsflower/subst/react-native';
import { type DirectEventHandler, type Double } from 'react-native/Libraries/Types/CodegenTypes';
import { type HostComponen... | /content/code_sandbox/types/react-native-safe-area-context/lib/typescript/src/specs/NativeSafeAreaProvider.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 209 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { ViewProps as $tsflower_subst$RN$ViewProps } from 'tsflower/subst/react-native';
import type { Readonly } from 'tsflower/subst/lib';
import { type WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
import { type HostComponent } from 'react-nati... | /content/code_sandbox/types/react-native-safe-area-context/lib/typescript/src/specs/NativeSafeAreaView.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 167 |
```unknown
/**
* Types for the NPM package `@react-native-community/netinfo`.
*
* Translated from
* node_modules/@react-native-community/netinfo/lib/typescript/src/index.d.ts
* using Flowgen v1.14.1 with --interface-records
*
* @flow strict-local
*/
/**
* Flowtype definitions for index
* Generated by Flowg... | /content/code_sandbox/types/@react-native-community/netinfo/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 488 |
```unknown
/* @flow
* @generated
*/
export * from './lib/typescript/src/index.js.flow';
``` | /content/code_sandbox/types/@react-navigation/bottom-tabs/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 22 |
```unknown
/**
* Types for the NPM package `@react-native-community/netinfo`.
*
* Translated from
* node_modules/@react-native-community/netinfo/lib/typescript/src/internal/types.d.ts
* using Flowgen v1.14.1 with --interface-records
*
* @flow strict-local
*/
/**
* Flowtype definitions for types
* Generated... | /content/code_sandbox/types/@react-native-community/netinfo/types.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 910 |
```unknown
/* @flow
* @generated by TsFlower
*/
export { default as createBottomTabNavigator } from './navigators/createBottomTabNavigator';
export { default as BottomTabView } from './views/BottomTabView';
export { default as BottomTabBar } from './views/BottomTabBar';
export { default as BottomTabBarHeightContext }... | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 147 |
```unknown
/* @flow
* @generated by TsFlower
*/
declare var _default: any;
export default _default;
``` | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/navigators/createBottomTabNavigator.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 26 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { JSX$Element as $tsflower_subst$React$JSX$Element } from 'tsflower/subst/react';
import * as React from 'react';
import { type ParamListBase, type TabNavigationState } from '@react-navigation/native';
import {
type BottomTabNavigationConfig,
type Botto... | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/views/BottomTabView.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 243 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
ReactNode as $tsflower_subst$React$ReactNode,
JSX$Element as $tsflower_subst$React$JSX$Element,
} from 'tsflower/subst/react';
import * as React from 'react';
declare export var initialSafeAreaInsets:
| {
top: number,
bottom: number,
... | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/views/SafeAreaProviderCompat.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 174 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { Partial } from 'tsflower/subst/lib';
import type {
TimingAnimationConfig as $tsflower_subst$RN$Animated$TimingAnimationConfig,
SpringAnimationConfig as $tsflower_subst$RN$Animated$SpringAnimationConfig,
StyleProp as $tsflower_subst$RN$StyleProp,
T... | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/types.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 1,369 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
StyleProp as $tsflower_subst$RN$StyleProp,
ViewStyle as $tsflower_subst$RN$ViewStyle,
WithAnimatedValue as $tsflower_subst$RN$Animated$WithAnimatedValue,
} from 'tsflower/subst/react-native';
import type { JSX$Element as $tsflower_subst$React$JSX$El... | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/views/BottomTabBar.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 373 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
ReactNode as $tsflower_subst$React$ReactNode,
JSX$Element as $tsflower_subst$React$JSX$Element,
} from 'tsflower/subst/react';
import * as React from 'react';
type Props = {
isVisible: boolean,
children: $tsflower_subst$React$ReactNode,
enabled... | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/views/ResourceSavingScene.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 128 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
StyleProp as $tsflower_subst$RN$StyleProp,
TextStyle as $tsflower_subst$RN$TextStyle,
ViewStyle as $tsflower_subst$RN$ViewStyle,
} from 'tsflower/subst/react-native';
import type {
ReactNode as $tsflower_subst$React$ReactNode,
JSX$Element as $ts... | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/views/TabBarIcon.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 298 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
WithAnimatedValue as $tsflower_subst$RN$Animated$WithAnimatedValue,
StyleProp as $tsflower_subst$RN$StyleProp,
TextStyle as $tsflower_subst$RN$TextStyle,
} from 'tsflower/subst/react-native';
import type { JSX$Element as $tsflower_subst$React$JSX$El... | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/views/Badge.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 201 |
```unknown
/* @flow
* @generated by TsFlower
*/
declare export default function useIsKeyboardShown(): boolean;
``` | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/utils/useIsKeyboardShown.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 25 |
```unknown
/* @flow
* @generated by TsFlower
*/
declare export default function useFloatingBottomTabBarHeight(): number;
``` | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/utils/useBottomTabBarHeight.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 27 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { Context as $tsflower_subst$React$Context } from 'tsflower/subst/react';
import * as React from 'react';
declare var _default: $tsflower_subst$React$Context<number | void>;
export default _default;
``` | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/utils/BottomTabBarHeightContext.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 68 |
```unknown
/* @flow
* @generated by TsFlower
*/
declare export default function useWindowDimensions(): {
height: number,
width: number,
...
};
``` | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/utils/useWindowDimensions.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 36 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { Context as $tsflower_subst$React$Context } from 'tsflower/subst/react';
import * as React from 'react';
declare var _default: $tsflower_subst$React$Context<(height: number) => void | void>;
export default _default;
``` | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/utils/BottomTabBarHeightCallbackContext.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 74 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
ReactNode as $tsflower_subst$React$ReactNode,
MouseEvent as $tsflower_subst$React$MouseEvent,
} from 'tsflower/subst/react';
import type {
StyleProp as $tsflower_subst$RN$StyleProp,
TextStyle as $tsflower_subst$RN$TextStyle,
GestureResponderEven... | /content/code_sandbox/types/@react-navigation/bottom-tabs/lib/typescript/src/views/BottomTabItem.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 637 |
```unknown
/* @flow
* @generated
*/
export * from './lib/typescript/src/index.js.flow';
``` | /content/code_sandbox/types/@react-navigation/core/index.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 22 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { JSX$Element as $tsflower_subst$React$JSX$Element } from 'tsflower/subst/react';
import {
type Route,
type ParamListBase,
type NavigationState,
type PartialState,
} from '@react-navigation/routers';
import { type NavigationProp, type RouteConfig, ty... | /content/code_sandbox/types/@react-navigation/core/lib/typescript/src/SceneView.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 266 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type {
ComponentProps as $tsflower_subst$React$ComponentProps,
JSX$Element as $tsflower_subst$React$JSX$Element,
} from 'tsflower/subst/react';
import * as React from 'react';
declare export default function useComponent<T: React.ComponentType<any>, P: { ..... | /content/code_sandbox/types/@react-navigation/core/lib/typescript/src/useComponent.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 143 |
```unknown
/* @flow
* @generated by TsFlower
*/
import type { Partial } from 'tsflower/subst/lib';
import { type Route, type PartialState, type NavigationState } from '@react-navigation/routers';
declare export default function getFocusedRouteNameFromRoute(
route: Partial<Route<string>> & { state?: PartialState<Na... | /content/code_sandbox/types/@react-navigation/core/lib/typescript/src/getFocusedRouteNameFromRoute.js.flow | unknown | 2016-05-08T05:41:48 | 2024-08-15T07:25:47 | zulip-mobile | zulip/zulip-mobile | 1,274 | 83 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.