We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ingest.prototype.send()
The method .send() of classes Ingest and IngestJson is described as returning void in the types file. But it returns a Promise.
.send()
Ingest
IngestJson
void
Promise
This requires using await when it is called but using await triggers the line being flagged by the TypeScript compiler and by SonarQube.
await
The correct signature of send() is send(report: SignalReport): Promise<void>;.
send()
send(report: SignalReport): Promise<void>;
The text was updated successfully, but these errors were encountered:
Ingest.send()
Successfully merging a pull request may close this issue.
The method
.send()
of classesIngest
andIngestJson
is described as returningvoid
in the types file. But it returns aPromise
.This requires using
await
when it is called but usingawait
triggers the line being flagged by the TypeScript compiler and by SonarQube.The correct signature of
send()
issend(report: SignalReport): Promise<void>;
.The text was updated successfully, but these errors were encountered: