-
Notifications
You must be signed in to change notification settings - Fork 3k
Typescript 4.6 compatibility #6895
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export { ajax } from '../internal/ajax/ajax'; | ||
export { AjaxError, AjaxTimeoutError } from '../internal/ajax/errors'; | ||
export { AjaxResponse } from '../internal/ajax/AjaxResponse'; | ||
export { AjaxRequest, AjaxConfig, AjaxDirection } from '../internal/ajax/types'; | ||
export type { AjaxRequest, AjaxConfig, AjaxDirection } from '../internal/ajax/types'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export type TimerHandle = number | NodeJS.Timeout; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not sure why it happens, but the published There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @sundbry @benlesh This breaks compatibility with yarn v3 pnp: https://github.com/yarnpkg/berry/actions/runs/3521483267/jobs/5903377561 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export { TestScheduler, RunHelpers } from '../internal/testing/TestScheduler'; | ||
export { TestScheduler } from '../internal/testing/TestScheduler'; | ||
export type { RunHelpers } from '../internal/testing/TestScheduler'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export { webSocket as webSocket } from '../internal/observable/dom/webSocket'; | ||
export { WebSocketSubject, WebSocketSubjectConfig } from '../internal/observable/dom/WebSocketSubject'; | ||
export { WebSocketSubject } from '../internal/observable/dom/WebSocketSubject'; | ||
export type { WebSocketSubjectConfig } from '../internal/observable/dom/WebSocketSubject'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fancy. I think I usually just do
ReturnType<typeof setTimeout>
. LOL... because I don't ever trust that I'm right.