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

[ONL-8253] Added typings #73

Merged
merged 5 commits into from
Feb 12, 2024
Merged

[ONL-8253] Added typings #73

merged 5 commits into from
Feb 12, 2024

Conversation

mcibique
Copy link
Contributor

@mcibique mcibique commented Feb 9, 2024

In order to add type safety into EBO composables, we need Huha typings first.

@mcibique mcibique marked this pull request as ready for review February 9, 2024 15:06
index.d.ts Outdated
object?: string,
action?: string,
category?: string,
value?: string,
Copy link
Contributor

Choose a reason for hiding this comment

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

we might have an error with the value type in a couple of files in EBO, it's mostly string, but we do have numbers in confirmation.vue.

I have asked the data team about these and they told me that for the quote rate (for which we are sending a number) they only check if the value exists, they don't do any calculations with them, so we could just convert them to strings, or we could add number to value type

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, I have enabled numbers as value as well.

@mcibique mcibique merged commit 43c2f07 into master Feb 12, 2024
2 checks passed
@mcibique mcibique deleted the ONL-8253-add-typings-for-huha branch February 12, 2024 10:44
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.

4 participants