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

Activate TypeScript's noImplicitAny rule #752

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Activate TypeScript's noImplicitAny rule #752

merged 1 commit into from
Jan 22, 2025

Conversation

Acconut
Copy link
Member

@Acconut Acconut commented Jan 20, 2025

This PR actives the noImplicitAny rule from TypeScript and fills in the missing type annotations. One noteworthy change in the API is that SliceResult now has an explicit size property: https://github.com/tus/tus-js-client/compare/no-implicit-any?expand=1#diff-7aa514e8766689bfea8a2264cb7dfc9140125a8b34e7eb5876b542ed6e1b3addR105 This was previously not the case, but now every slice operation must return the number of bytes present in its returned, opaque value.

@Acconut Acconut self-assigned this Jan 20, 2025
@Acconut Acconut changed the title Active TypeScript's noImplicitAny rule Activate TypeScript's noImplicitAny rule Jan 20, 2025
@Acconut Acconut merged commit 02cbd47 into main Jan 22, 2025
8 of 10 checks passed
@Acconut Acconut deleted the no-implicit-any branch January 22, 2025 18:33
@Acconut Acconut mentioned this pull request Jan 24, 2025
17 tasks
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.

1 participant