Skip to content

Commit ea48959

Browse files
committed
Tweak TS page
1 parent 909fdd8 commit ea48959

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/tutorials/typescript.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,11 @@ hide_title: true
2525

2626
## Introduction
2727

28-
Welcome to the React Redux TypeScript Quick Start tutorial! **This tutorial will briefly show how to use TypeScript with Redux Toolkit**.
28+
Welcome to the React Redux TypeScript Quick Start tutorial! **This tutorial will briefly show how to use TypeScript with Redux Toolkit and React-Redux**.
2929

3030
This page focuses on just how to set up the TypeScript aspects . For explanations of what Redux is, how it works, and full examples of how to use Redux, see [the Redux core docs tutorials](https://redux.js.org/tutorials/index).
3131

32-
Both React-Redux and Redux Toolkit are already written in TypeScript, so their TS type definitions are built in.
33-
34-
[React Redux](https://react-redux.js.org) has its type definitions in a separate [`@types/react-redux` typedefs package](https://npm.im/@types/react-redux) on NPM. In addition to typing the library functions, the types also export some helpers to make it easier to write typesafe interfaces between your Redux store and your React components.
32+
[React Redux](https://react-redux.js.org) is also written in TypeScript as of version 8, and also includes its own type definitions.
3533

3634
The [Redux+TS template for Create-React-App](https://github.com/reduxjs/cra-template-redux-typescript) comes with a working example of these patterns already configured.
3735

0 commit comments

Comments
 (0)