-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
export type
for re-exporting type definitions
Fixes compilation under typescript with `isolatedModules: true` See https://devblogs.microsoft.com/typescript/announcing-typescript-3-8/#type-only-imports-exports
- Loading branch information
Showing
6 changed files
with
38 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |