-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Move key types to central location #7531
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7531 +/- ##
=======================================
Coverage 63.01% 63.01%
=======================================
Files 760 760
Lines 21525 21525
Branches 4272 4272
=======================================
Hits 13563 13563
Misses 7140 7140
Partials 822 822 ☔ View full report in Codecov by Sentry. |
@MGibson1 , this is a great change, but looks like there are several build failures to address still. |
3954a2b
to
812ff95
Compare
812ff95
to
ce9b3ec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
libs/common/src/types/key.d.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why a .d.ts
file? TypeScript maintainers aren't a fan of using them for this. microsoft/TypeScript#52593 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't know that, I'd always thought they were indicators of types only
a407aa4
Type of change
Objective
Moves key types to a central type file. I plan on expanding these opaque types to include asymmetric keys, which make sense in a single key type file rather than distributed between multiple.
All changes are either moving these opaque types or import updates.
Before you submit