Skip to content

Commit f424a81

Browse files
authored
1 parent 2bf0472 commit f424a81

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
- [Section 4: Misc. Concerns](#section-4--misc-concerns)
2929
* [Writing Typescript Libraries instead of Apps](#writing-typescript-libraries-instead-of-apps)
3030
* [Component/Design System Development](#component-design-system-development)
31-
* [Building](#building)
31+
* [Migrating from Flow](#migrating-from-flow)
3232
* [Prettier + TSLint](#prettier---tslint)
3333
* [ESLint + TSLint](#eslint---tslint)
3434
* [Working with Non-Typescript Libraries (writing your own index.d.ts)](#working-with-non-typescript-libraries--writing-your-own-indexdts-)
@@ -517,9 +517,9 @@ For developing with Storybook, read the docs I maintain over here: <https://stor
517517

518518
[Something to add? File an issue](https://github.com/sw-yx/react-typescript-cheatsheet/issues/new).
519519

520-
## Building
520+
## Migrating From Flow
521521

522-
*Not written yet.*
522+
You may wish to use <https://github.com/piotrwitek/utility-types>. If you have specific advice in this area, please file a PR!
523523

524524
[Something to add? File an issue](https://github.com/sw-yx/react-typescript-cheatsheet/issues/new).
525525

@@ -657,6 +657,8 @@ An example github repository with a project showing how to integrate [eslint + t
657657

658658
Please contribute on this topic! [We have an ongoing issue here with some references](https://github.com/sw-yx/react-typescript-cheatsheet/issues/8).
659659

660+
661+
660662
# Troubleshooting Handbook: Types
661663

662664
Facing weird type errors? You aren't alone. This is the worst part of using Typescript with React. Try to avoid typing with `any` as much as possible to experience the full benefits of typescript. Instead, let's try to be familiar with some of the common strategies to solve these issues.
@@ -844,7 +846,7 @@ This is not yet written. Please PR or [File an issue](https://github.com/sw-yx/r
844846

845847
## Type Zoo
846848

847-
As you can see from the Omit example above, you can write significant logic in your types as well. [type-zoo](https://github.com/pelotom/type-zoo) is a nice toolkit of operators you may wish to check out (includes Omit).
849+
As you can see from the Omit example above, you can write significant logic in your types as well. [type-zoo](https://github.com/pelotom/type-zoo) is a nice toolkit of operators you may wish to check out (includes Omit), as well as [utility-types](https://github.com/piotrwitek/utility-types) (especially for those migrating from Flow).
848850

849851
# Troubleshooting Handbook: TSLint
850852

0 commit comments

Comments
 (0)