8e4123e9d9
This pull request add typescript to the current redux-toolkit example on next.js. @markerikson suggested this nice idea to add a ts example: https://twitter.com/acemarke/status/1370877104527712259?s=20 This example is with the previous redux-toolkit example which was more complex. An example with the current example is available here: https://github.com/vercel/next.js/pull/23249 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
27 lines
606 B
JSON
27 lines
606 B
JSON
{
|
|
"name": "with-redux-toolkit-typescript",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"type-check": "tsc"
|
|
},
|
|
"dependencies": {
|
|
"@nano-sql/core": "^2.3.7",
|
|
"@reduxjs/toolkit": "^1.3.6",
|
|
"next": "latest",
|
|
"react": "17.0.1",
|
|
"react-dom": "17.0.1",
|
|
"react-redux": "^7.2.0"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/node": "14.14.35",
|
|
"@types/react": "17.0.3",
|
|
"@types/react-dom": "17.0.2",
|
|
"@types/react-redux": "7.1.16",
|
|
"prettier": "2.2.1",
|
|
"typescript": "4.2.3"
|
|
}
|
|
}
|