| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Explicitly updated the type of the `mode` parameter to `string | null` in the `getParams` function to support cases where `mode` might be `null`. This improves flexibility and handling of optional parameters.
|
@Anrecky is attempting to deploy a commit to the Chapter Three Team on Vercel. A member of the Team first needs to authorize it. |
Sorry, something went wrong.
…ull typing getParams() fell through without returning for unknown resource types, returning undefined instead of a DrupalJsonApiParams instance. Add a fallback return and type the mode parameter as string | null. Adopted from upstream PRs chapter-three#790 and chapter-three#791. Co-authored-by: anRecky <45596261+Anrecky@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
This pull request is for: (mark with an "x")
Description
Explicitly updated the type of the mode parameter to string | null in the getParams function to support cases where mode might be null. This improves flexibility and handling of optional parameters.