-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate TypeScript types declaration (#656)
* Generate bundled types declaration * Use named exports * Simplify building types * Fix enum export * Fix Webpack export type * Remove useless test
- Loading branch information
1 parent
06ff195
commit 4370cce
Showing
16 changed files
with
115 additions
and
303 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 was deleted.
Oops, something went wrong.
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,12 +1,10 @@ | ||
// Different behaviors when the user's auth status is pending | ||
// or mismatches the page requirements. | ||
|
||
enum AuthAction { | ||
export enum AuthAction { | ||
RENDER = 'render', | ||
SHOW_LOADER = 'showLoader', | ||
RETURN_NULL = 'returnNull', | ||
REDIRECT_TO_LOGIN = 'redirectToLogin', | ||
REDIRECT_TO_APP = 'redirectToApp', | ||
} | ||
|
||
export default AuthAction |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.