Skip to content
New issue

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

migrate to typescript #96

Merged
merged 3 commits into from
Jan 22, 2025
Merged

migrate to typescript #96

merged 3 commits into from
Jan 22, 2025

Conversation

massfords
Copy link
Contributor

Summary

What does this PR do?

@massfords massfords marked this pull request as ready for review January 7, 2025 04:03
# DQL
# DLQ
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in the README

Comment on lines +3 to 5
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
import mergeRace from "@async-generator/merge-race";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are no types for this lib.

Should we continue to use this? Is there an alternative to this merge-race?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some suggested, manual, solution here

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better not use yet another npm that will have more dependabot updates, and eventually not maintained

Comment on lines -103 to -105
sqs: AWS.SQS,
FunctionName: string,
QueueUrl: string,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the sqs and QueueUrl params since they weren't used

sqs: AWS.SQS,
QueueUrl: string,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QueueUrl was not referenced

lambda: AWS.Lambda,
sqs: AWS.SQS,
queueUrl: string,
Copy link
Contributor Author

@massfords massfords Jan 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

queueUrl was removed as a result of it being removed from the redrive funcs below

@massfords massfords requested a review from omershatil January 15, 2025 14:52
@jeffsays jeffsays added the enhancement New feature or request label Jan 15, 2025
@massfords massfords requested a review from jeffsays January 21, 2025 13:46
Copy link

@omershatil omershatil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@massfords massfords merged commit 26333d9 into master Jan 22, 2025
5 checks passed
@massfords massfords deleted the mf/ts branch January 22, 2025 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

convert DLQ to typescript
3 participants