fix(http): make HttpResponse data type generic - #8511
Open
medbenmakhlouf wants to merge 2 commits into
Open
Conversation
This comment was marked as abuse.
This comment was marked as abuse.
cursor Bot
pushed a commit
to Cap-go/capacitor-plus
that referenced
this pull request
Aug 13, 2026
…e data type generic (#85) * Release 8.3.2 * fix(cli): copy plugin files in CocoaPods projects (ionic-team#8467) * Release 8.3.3 * chore(cli): update telemetry endpoint (ionic-team#8464) * Release 8.3.4 * chore: format java code (ionic-team#8475) * chore: format java code (ionic-team#8477) * feat: add method getDouble to plugin config (ionic-team#7638) Co-authored-by: jcesarmobile <jcesarmobile@gmail.com> * fix(SystemBars): make `safe-area-inset-x` available on API <= 34 (ionic-team#8424) * feat(cli): add experimental packageOptions (ionic-team#8471) * feat(cli): capture ios_package_manager in telemetry (ionic-team#8482) * fix(cli): revert live reload config on failure (ionic-team#8485) * chore: fix typo in declarations.ts (ionic-team#8488) * fix(SystemBars): respect `insetsHandling` disable (ionic-team#8481) * fix(android): show only the requested system bar (ionic-team#8480) Co-authored-by: Joey Pender <joey.pender@outsystems.com> Co-authored-by: Pedro Bilro <pedro.gustavo.bilro@outsystems.com> Co-authored-by: Mark Anderson <mark.anderson@outsystems.com> * chore: Decrease timeout for CI jobs from 60 to 30 minutes (ionic-team#8476) Co-authored-by: jcesarmobile <jcesarmobile@gmail.com> * Release 8.4.0 * fix(cli): patch Capacitor SPM dependency version in plugins (ionic-team#8492) Co-authored-by: Mark Anderson <mark.anderson@outsystems.com> * fix(cli): make SPM dependency patch work on prereleases (ionic-team#8508) * Release 8.4.1 * fix(core): make HttpResponse data type generic * fix(docs): update HttpResponse examples to use generic type * fix(core): make HttpResponse data type generic (cherry picked from commit 525c6f7) * fix(docs): update HttpResponse examples to use generic type (cherry picked from commit 462a05a) --------- Co-authored-by: Github Workflow (on behalf of markemer) <users.noreply.github.com> Co-authored-by: jcesarmobile <jcesarmobile@gmail.com> Co-authored-by: Alex J. <alexandre.jacinto@outsystems.com> Co-authored-by: Robin Genz <mail@robingenz.dev> Co-authored-by: Joey Pender <joey.pender@outsystems.com> Co-authored-by: Minh Vu <vuhoangminh97@gmail.com> Co-authored-by: Pedro Bilro <pedro.gustavo.bilro@outsystems.com> Co-authored-by: Mark Anderson <mark.anderson@outsystems.com> Co-authored-by: Mohamed Ben Makhlouf <med.b.makhlouf@gmail.com> Co-authored-by: Capacitor+ Bot <bot@capgo.app> Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This change makes HttpResponse generic so callers can type the response payload with HttpResponse. It remains backward-compatible because the default type parameter is any, so existing usages of ┃
HttpResponse continue to work unchanged. The result is a small TypeScript API improvement with no runtime impact.
Change Type
Rationale / Problems Fixed
Tests or Reproductions
Screenshots / Media
Platforms Affected
Notes / Comments