chodorowicz/ts-debounce
### [`v4.0.0`](https://togithub.com/chodorowicz/ts-debounce/releases/v4.0.0)
[Compare Source](https://togithub.com/chodorowicz/ts-debounce/compare/v3.0.0...v4.0.0)
#### Breaking
- improve type inference thanks [@juanmendes](https://togithub.com/juanmendes) for the idea
- since we're improving types in some scenarios (instead of `any` you can get more precise types) this can break your type checks
```ts
const inputs = document.querySelectorAll("input");
inputs[0].addEventListener(
"input",
debounce((event) => {
// here Event has `Event` type, before it was just `any`
expectType(event.target);
}, 0)
);
```
#### other
- ๐งช introduce tsd type testing
- ๐ add past contributors
- ๐ Add Prettier, format files
Configuration
๐ Schedule: "before 3am on Monday" (UTC).
๐ฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.
โป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
๐ Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
^3.0.0
->^4.0.0
Release Notes
chodorowicz/ts-debounce
### [`v4.0.0`](https://togithub.com/chodorowicz/ts-debounce/releases/v4.0.0) [Compare Source](https://togithub.com/chodorowicz/ts-debounce/compare/v3.0.0...v4.0.0) #### Breaking - improve type inference thanks [@juanmendes](https://togithub.com/juanmendes) for the idea - since we're improving types in some scenarios (instead of `any` you can get more precise types) this can break your type checks ```ts const inputs = document.querySelectorAll("input"); inputs[0].addEventListener( "input", debounce((event) => { // here Event has `Event` type, before it was just `any` expectTypeConfiguration
๐ Schedule: "before 3am on Monday" (UTC).
๐ฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.
โป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
๐ Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.