-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Description
Hi all (cc @astahmer),
There are some cases where the types are not being exported properly — some schema-defined types are missing from the final output. To address this, I’ve raised this issue along with a PR that improves how types are exported. With the change, all defined schemas will have corresponding exported types.
I’ve also added examples in the test suite. Without the fix, the following types wouldn’t be available, even though the schemas exist:
type LoginRequest = {
email: string;
password: string;
};
type PasswordChangeRequest = {
newPassword1: string;
newPassword2: string;
};
type PasswordResetConfirmRequest = {
newPassword1: string;
newPassword2: string;
uid: string;
token: string;
};
I hope this issue is clear and the proposed changes will help improve type coverage and developer experience. Looking forward to your feedback and review of the PR.
Thank you!
MrRefactoring and Undistraction
Metadata
Metadata
Assignees
Labels
No labels