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

Fix: Some TS need better typing #26

Merged
merged 3 commits into from
Jan 3, 2022
Merged

Fix: Some TS need better typing #26

merged 3 commits into from
Jan 3, 2022

Conversation

kamikazebr
Copy link
Member

Aftter the generated d.ts typing version, some components need refactor or make all params optional

It's unlock the 1Hive/gardens-ui#749 of @tmoutinho

Meanwhile its possible use the Gist with already fixed index.d.ts

https://gist.github.com/kamikazebr/88528d30f2a55eb4ffb49773ea50f13c

place on node_modules/@1hive/1hive-ui/dist/types/index.d.ts

@kamikazebr kamikazebr mentioned this pull request Dec 24, 2021
8 tasks
@tmoutinho
Copy link

tmoutinho commented Jan 1, 2022

With this PR we could remove the file in gardens /types/1hive-ui.extends.d.ts ?

Copy link

@tmoutinho tmoutinho left a comment

Choose a reason for hiding this comment

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

Just a heads up: for now, this is fine, but with time we could improve the typing. Adding any and optional to everything could bring some problems in the near future.

@0xGabi 0xGabi merged commit fcedd09 into master Jan 3, 2022
@0xGabi 0xGabi deleted the fix/ts-support-optionals branch January 3, 2022 17:29
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.

3 participants