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
@@ -44,9 +44,9 @@ This command adds the latest version of every dependency. The versions may need
44
44
45
45
2. Add a TypeScript config file. Create a `tsconfig.json` in the root of your project:
46
46
47
-
```json
47
+
```json title="tsconfig.json"
48
48
{
49
-
"extends": "@tsconfig/react-native/tsconfig.json"
49
+
"extends": "@react-native/typescript-config"
50
50
}
51
51
```
52
52
@@ -86,19 +86,16 @@ Out of the box, TypeScript sources are transformed by [Babel][babel] during bund
86
86
You can provide an interface for a React Component's [Props](props) and [State](state) via `React.Component<Props, State>` which will provide type-checking and editor auto-completing when working with that component in JSX.
@@ -44,9 +44,9 @@ This command adds the latest version of every dependency. The versions may need
44
44
45
45
2. Add a TypeScript config file. Create a `tsconfig.json` in the root of your project:
46
46
47
-
```json
47
+
```json title="tsconfig.json"
48
48
{
49
-
"extends": "@tsconfig/react-native/tsconfig.json"
49
+
"extends": "@react-native/typescript-config"
50
50
}
51
51
```
52
52
@@ -86,19 +86,16 @@ Out of the box, TypeScript sources are transformed by [Babel][babel] during bund
86
86
You can provide an interface for a React Component's [Props](props) and [State](state) via `React.Component<Props, State>` which will provide type-checking and editor auto-completing when working with that component in JSX.
0 commit comments