You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The enabled by default statement made sense when the developer was supposed to disable flow in order to use ts. Both those statements in there create some confusion about it in my opinion.
Copy file name to clipboardExpand all lines: packages/babel-preset-react-app/README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ This preset uses the `useBuiltIns` option with [transform-object-rest-spread](ht
34
34
35
35
## Usage with Flow
36
36
37
-
Flow is enabled by default. Make sure you have a `.flowconfig` file at the root directory. You can also use the `flow` option on `.babelrc`:
37
+
Make sure you have a `.flowconfig` file at the root directory. You can also use the `flow` option on `.babelrc`:
38
38
39
39
```json
40
40
{
@@ -44,7 +44,7 @@ Flow is enabled by default. Make sure you have a `.flowconfig` file at the root
44
44
45
45
## Usage with TypeScript
46
46
47
-
TypeScript is enabled by default. Make sure you have a `tsconfig.json` file at the root directory. You can also use the `typescript` option on `.babelrc`:
47
+
Make sure you have a `tsconfig.json` file at the root directory. You can also use the `typescript` option on `.babelrc`:
0 commit comments