Skip to content

Commit

Permalink
refactor(maven): update body function signature to specify return type
Browse files Browse the repository at this point in the history
  • Loading branch information
zharinov committed Dec 15, 2024
1 parent fb94c0b commit 38d7598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/datasource/maven/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ describe('modules/datasource/maven/index', () => {
s3mock.reset();
});

function body(input: string) {
function body(input: string): ReturnType<typeof sdkStreamMixin> {
const result = new Readable();
result.push(input);
result.push(null);
Expand Down

0 comments on commit 38d7598

Please sign in to comment.