-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ajax() type signature error (TS) when string provided #1382
Comments
I also noticed this while migrating test cases, simply deferred definition changes after test cases are checked in. This should be trivial changes, I'll take this up around today. |
We really need to have TS type tests in place. Otherwise TS users might see errors like this. I suppose your #1364 will fix that? |
#1364 is initial setup to prepare type definition test, so only partially covers for it (because consume definition via test cases can resolve most frequent usage). My plan is leveraging typescript-based test cases to add bunch of type definition test only check if it's written as intended - #1189 is one of examples what'll be added in further. In general, I also #1364 to be landed to start further tasks regarding type definition enhancement. Just need it to be reviewed & approved since it introduce broad number of changes along impacting development cycle. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
John Lindquist reported that
gives TS compile error
Solution suggestion:
I think the type signature should be changed like this:
The text was updated successfully, but these errors were encountered: