Open suneettipirneni opened 3 years ago
Merging #57 (954d125) into main (ceaab7d) will increase coverage by
0.09%
. The diff coverage is86.79%
.
@@ Coverage Diff @@
## main #57 +/- ##
==========================================
+ Coverage 85.84% 85.93% +0.09%
==========================================
Files 8 11 +3
Lines 996 1102 +106
Branches 99 113 +14
==========================================
+ Hits 855 947 +92
Misses 42 42
- Partials 99 113 +14
Impacted Files | Coverage Δ | |
---|---|---|
packages/type-utils/src/lib/util/enum.ts | 78.26% <78.26%> (ø) |
|
packages/type-utils/src/lib/button.ts | 82.35% <82.35%> (ø) |
|
packages/type-utils/src/lib/command.ts | 90.90% <90.90%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update ceaab7d...954d125. Read the comment docs.
So I'm leaning towards renaming this module to type-utils
, there are various reason for this:
#isEqual
will offer a lot of utility and also fit under the type-utils
category.discord-api-types
variants as well as the d.js variants.Other than naming, this PR won't change anything, but I wanna keep the door open for later changes.
Please describe the changes this PR makes and why it should be merged:
Migration of https://github.com/discordjs/discord.js/pull/6410 to package here.
This package offers typeguards for otherwise tedious manual typeguards. It will also eventually offer compatibility with api types and
#equals
between various types.Status and versioning classification: Please move lines that apply to you out of the comment: