Skip to content

Commit

Permalink
fix: tsc noEmit
Browse files Browse the repository at this point in the history
  • Loading branch information
Layouwen committed Aug 19, 2024
1 parent a2a9ec0 commit 3806537
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ tsconfig.test.json
# dumi
.dumi/tmp
.dumi/tmp-test
.dumi/tmp-production
.dumi/tmp-production

bun.lockb
2 changes: 2 additions & 0 deletions bunfig.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[install]
peer = false
1 change: 0 additions & 1 deletion docs/example/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export default () => {
return (
<>
<ColorPicker
color={value}
onChange={setValue}
components={{
slider: Slider,
Expand Down
2 changes: 1 addition & 1 deletion tests/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,6 @@ describe('ColorPicker', () => {
<>
<div className="pick-color">{value.toHsbString()}</div>
<ColorPicker
color={value}
onChange={(color, info) => {
changeInfo = info;

Expand Down Expand Up @@ -474,6 +473,7 @@ describe('ColorPicker', () => {
100,
0,
);

expect(container.querySelector('.pick-color').innerHTML).toBe(
'hsba(215, 91%, 100%, 0)',
);
Expand Down

0 comments on commit 3806537

Please sign in to comment.