Closed neiker closed 4 years ago
On index.d.ts, BeforeSend is defined as (report: Report) => boolean | void; but in fact it receives 2 arguments. Correct signature: (report: Report, error: Error) => boolean | undefined;
index.d.ts
BeforeSend
(report: Report) => boolean | void;
(report: Report, error: Error) => boolean | undefined;
@neiker
Thanks for raising this, we'll look at fixing it in a future release.
Fixed in v2.23.6
On
index.d.ts
,BeforeSend
is defined as(report: Report) => boolean | void;
but in fact it receives 2 arguments. Correct signature:(report: Report, error: Error) => boolean | undefined;