-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
return static properties to all builds
- Loading branch information
Showing
4 changed files
with
11 additions
and
23 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
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,17 +1,7 @@ | ||
/** | ||
* This file is the entrypoint of browser builds. | ||
*/ | ||
import { Centrifuge, UnauthorizedError } from './centrifuge' | ||
import { | ||
State, SubscriptionState, | ||
} from './types'; | ||
|
||
// @ts-ignore – need for browser build. | ||
Centrifuge.SubscriptionState = SubscriptionState; | ||
// @ts-ignore – need for browser build. | ||
Centrifuge.State = State | ||
// @ts-ignore – need for browser build. | ||
Centrifuge.UnauthorizedError = UnauthorizedError; | ||
import { Centrifuge } from './centrifuge' | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(window as any).Centrifuge = Centrifuge |
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