Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

fmartinou
Copy link
Collaborator

No description provided.

@fmartinou fmartinou linked an issue Apr 27, 2025 that may be closed by this pull request
@fmartinou fmartinou force-pushed the feature/typescript branch from 55b97b5 to 9baf6f7 Compare April 27, 2025 19:00
// If the container was created or destroyed => perform a watch
if (action === 'destroy' || action === 'create') {
await this.watchCronDebounced();
this.watchCronDebounced!();
Copy link
Contributor

Choose a reason for hiding this comment

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

I think I broke something, just not sure yet how exactly, the function can be null right now.

Suggested change
this.watchCronDebounced!();
this.watchCronDebounced?.();

Copy link
Contributor

Choose a reason for hiding this comment

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

I've been using WUD with typescript in an own branch with this small fix, not seeing anything else broken because of this. Is there any other reason not merging this in? More changes means making it more difficult to merge later again.

Once this typescript branch is merged, I will push some more fixes/improvements :) And as said it will allow more people to easier understand how it all works and improve WUD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature/typescript

2 participants