-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from userfront/add-types
Add correct TS .d.ts type declarations
- Loading branch information
Showing
12 changed files
with
119 additions
and
47 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
Manually adjusted .d.ts for index.js | ||
The auto-generated index.d.ts file does not pick up the CoreJS import, | ||
so this adds that import. The import paths in this file reflect the | ||
expected auto-generated paths and are not expected to be present | ||
relative to this file. | ||
During build, this is copied directly into the dist directory. | ||
*/ | ||
|
||
export { default as SignupForm } from "./packaged-forms/SignupForm"; | ||
export { default as LoginForm } from "./packaged-forms/LoginForm"; | ||
export { default as PasswordResetForm } from "./packaged-forms/PasswordResetForm"; | ||
export { default as LogoutButton } from "./components/LogoutButton"; | ||
export namespace _devTools { | ||
export { UnboundUniversalForm }; | ||
export { createUniversalFormModel }; | ||
export { defaultUniversalFormContext }; | ||
export { overrideUserfrontSingleton }; | ||
} | ||
export default Userfront; | ||
import { default as UnboundUniversalForm } from "./forms/UniversalForm"; | ||
import { default as createUniversalFormModel } from "./models/forms/universal"; | ||
import { defaultAuthContext as defaultUniversalFormContext } from "./models/forms/universal"; | ||
import { overrideUserfrontSingleton } from "./services/userfront"; | ||
import * as Userfront from "@userfront/core"; |
bb2ead0
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.
Successfully deployed to the following URLs:
vercel-toolkit-react-storybook – ./
vercel-toolkit-react-storybook.vercel.app
vercel-toolkit-react-storybook-git-main-userfront.vercel.app
vercel-toolkit-react-storybook-userfront.vercel.app
bb2ead0
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.
Successfully deployed to the following URLs:
vercel-toolkit-react-dev-app – ./
vercel-toolkit-react-dev-app-userfront.vercel.app
toolkit-dev-app-react.vercel.app
vercel-toolkit-react-dev-app-git-main-userfront.vercel.app