Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: export AmountMath and deprecate but still export amountMath #3055

Merged
merged 2 commits into from
May 7, 2021

Conversation

katelynsills
Copy link
Contributor

Part 1 of #3045

@katelynsills katelynsills added the ERTP package: ERTP label May 6, 2021
@katelynsills katelynsills self-assigned this May 6, 2021
Copy link
Contributor

@Chris-Hibbert Chris-Hibbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I usually like to see at least a simple use of new code, even in a test file, before approval, but as long as typescript doesn't complain, this is a simple enough rename to get through.

@@ -170,7 +170,7 @@ const coerceLR = (h, leftAmount, rightAmount) => {
};

/** @type {AmountMath} */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't the type's name need to change in order to not conflict with the export?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, I think the types are a different name space

@katelynsills katelynsills enabled auto-merge (squash) May 7, 2021 00:18
@katelynsills katelynsills merged commit e2a6c6b into master May 7, 2021
@katelynsills katelynsills deleted the 3045-introduce-amountMath-cap branch May 7, 2021 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ERTP package: ERTP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants