Skip to content

Commit eea1d41

Browse files
darssenmatticbot
authored andcommitted
Revert "JSON API: harden serializable_error() to always render a real HTTP er…" (#50067)
This reverts commit 3f6fc95ee8823f0104c59d33f7ae3e5c8db2ac1c. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/28430548836 Upstream-Ref: Automattic/jetpack@54ec0ff
1 parent 6c0156d commit eea1d41

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎dist/index.d.cts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ declare const BarListChartResponsive: ({
925925
width,
926926
height,
927927
...chartProps
928-
}: Omit<BarListChartProps, "size" | "width" | "height"> & {
928+
}: Omit<BarListChartProps, "width" | "height" | "size"> & {
929929
width?: number;
930930
height?: number;
931931
size?: number;
@@ -1069,7 +1069,7 @@ declare const GeoChartResponsive: ({
10691069
width,
10701070
height,
10711071
...chartProps
1072-
}: Omit<GeoChartProps, "size" | "width" | "height"> & {
1072+
}: Omit<GeoChartProps, "width" | "height" | "size"> & {
10731073
width?: number;
10741074
height?: number;
10751075
size?: number;
@@ -1145,7 +1145,7 @@ declare const LeaderboardChartResponsive: (({
11451145
width,
11461146
height,
11471147
...chartProps
1148-
}: Omit<LeaderboardChartProps, "size" | "width" | "height"> & {
1148+
}: Omit<LeaderboardChartProps, "width" | "height" | "size"> & {
11491149
width?: number;
11501150
height?: number;
11511151
size?: number;
@@ -1652,7 +1652,7 @@ declare const Sparkline: ({
16521652
width,
16531653
height,
16541654
...chartProps
1655-
}: Omit<SparklineProps, "size" | "width" | "height"> & {
1655+
}: Omit<SparklineProps, "width" | "height" | "size"> & {
16561656
width?: number;
16571657
height?: number;
16581658
size?: number;

‎dist/index.d.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ declare const BarListChartResponsive: ({
925925
width,
926926
height,
927927
...chartProps
928-
}: Omit<BarListChartProps, "size" | "width" | "height"> & {
928+
}: Omit<BarListChartProps, "width" | "height" | "size"> & {
929929
width?: number;
930930
height?: number;
931931
size?: number;
@@ -1069,7 +1069,7 @@ declare const GeoChartResponsive: ({
10691069
width,
10701070
height,
10711071
...chartProps
1072-
}: Omit<GeoChartProps, "size" | "width" | "height"> & {
1072+
}: Omit<GeoChartProps, "width" | "height" | "size"> & {
10731073
width?: number;
10741074
height?: number;
10751075
size?: number;
@@ -1145,7 +1145,7 @@ declare const LeaderboardChartResponsive: (({
11451145
width,
11461146
height,
11471147
...chartProps
1148-
}: Omit<LeaderboardChartProps, "size" | "width" | "height"> & {
1148+
}: Omit<LeaderboardChartProps, "width" | "height" | "size"> & {
11491149
width?: number;
11501150
height?: number;
11511151
size?: number;
@@ -1652,7 +1652,7 @@ declare const Sparkline: ({
16521652
width,
16531653
height,
16541654
...chartProps
1655-
}: Omit<SparklineProps, "size" | "width" | "height"> & {
1655+
}: Omit<SparklineProps, "width" | "height" | "size"> & {
16561656
width?: number;
16571657
height?: number;
16581658
size?: number;

0 commit comments

Comments
 (0)