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

Improve purse types #93

Merged
merged 1 commit into from
Mar 8, 2024
Merged

Improve purse types #93

merged 1 commit into from
Mar 8, 2024

Conversation

samsiegart
Copy link
Contributor

No description provided.

Copy link

@LuqiPan LuqiPan left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -14,9 +17,13 @@ export type PursesJSONState<T extends AssetKind> = {
/** The petname for this purse */
pursePetname: string;
/** The brand's displayInfo */
displayInfo: unknown;
// XXX Copied from @agoric/ertp/src/types-ambient.js
Copy link

Choose a reason for hiding this comment

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

question

Just curious, what does XXX stand for here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To me it just signals a code smell that isn't really actionable enough for a TODO. Ideally the types would be exported from agoric-sdk as a module instead of being ambient. I'm not sure if there's an issue to track this exactly (my search).

@samsiegart samsiegart merged commit c1c43a1 into main Mar 8, 2024
1 check passed
@samsiegart samsiegart deleted the purse-types branch March 8, 2024 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants