Closed angeloashmore closed 2 years ago
Path | Size |
---|---|
dist/index.js | 3.13 KB (0%) |
dist/index.cjs | 3.79 KB (0%) |
Merging #57 (98150ea) into master (935693b) will decrease coverage by
0.00%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #57 +/- ##
==========================================
- Coverage 99.64% 99.64% -0.01%
==========================================
Files 13 13
Lines 1122 1117 -5
Branches 112 112
==========================================
- Hits 1118 1113 -5
Misses 4 4
Impacted Files | Coverage Δ | |
---|---|---|
src/isFilled.ts | 100.00% <100.00%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Inform @faresd when this PR is merged and published.
See this private Slack conversation for details.
Let's ship this one quickly since a user is blocked. Good idea to add type tests after we publish. 👍
Types of changes
Description
This PR simplifies
isFilled.embed()
to fix an issue where certain versions of TypeScript cannot parseisFilled.embed()
's bundled type. See #54 for the TypeScript error.The simplification removes the need for a ternary and
infer
keyword. See the diff to learn what changes were made.This changes the bundled type like so. Note the lack of
?
in the After type.Before:
After:
Fixes #54.
Checklist:
🦊