bbc / sqs-consumer

Build Amazon Simple Queue Service (SQS) based applications without the boilerplate
https://bbc.github.io/sqs-consumer/
Other
1.71k stars 330 forks source link

feat: re-export message interface #385

Closed nicholasgriffintn closed 1 year ago

nicholasgriffintn commented 1 year ago

Resolves #384

Description:

It has been suggested that the package would be easier to use for developers if the library re-exported the AWS interface Message, so that they don't have to import it from the AWS library directly.

Type of change:

Why is this change required?:

This PR re-exports the interface from the types file and also changes how we use the interface internally to also use that export.

Code changes:


codeclimate[bot] commented 1 year ago

Code Climate has analyzed commit 2445f992 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 94.7% (0.0% change).

View more on Code Climate.

nicholasgriffintn commented 1 year ago

So the problem with this is that the docs are blank, this means that our typedoc links to the type but nothing is displayed.