reduxjs / redux

A JS library for predictable global state management
https://redux.js.org
MIT License
60.94k stars 15.27k forks source link

Update UsageWithTypescript.md #4642

Closed factiondavid closed 11 months ago

factiondavid commented 11 months ago

Include id type for Book entity


name: :memo: Documentation Fix about: Fixing a problem in an existing docs page

Checklist

What docs page needs to be fixed?

What is the problem?

selectId does not set the custom id for the createEntityAdapter as it needs the custom id tpe.

What changes does this PR make to fix the problem?

Elimates the TS error

codesandbox-ci[bot] commented 11 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 30b666871b3b3c5b8d520231e3a4e9e890891fda:

Sandbox Source
Vanilla Typescript Configuration
netlify[bot] commented 11 months ago

Deploy Preview for redux-docs ready!

Name Link
Latest commit 30b666871b3b3c5b8d520231e3a4e9e890891fda
Latest deploy log https://app.netlify.com/sites/redux-docs/deploys/65833635a3f30300084b14af
Deploy Preview https://deploy-preview-4642--redux-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

EskiMojo14 commented 11 months ago

thanks!