Skip to content

Commit 2897478

Browse files
committed
Fix jsdoc type and code format
1 parent f46ce31 commit 2897478

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/index.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
/**
2626
* @typedef {Object} Props
2727
* @property {boolean} [keep]
28-
* @property {number} [height]
28+
* @property {number|string} [height]
2929
* @property {number} [offset]
3030
* @property {any} [fadeOption]
3131
* @property {number} [resetHeightDelay]
@@ -42,9 +42,9 @@
4242
height = 0,
4343
offset = 150,
4444
fadeOption = {
45-
delay: 0,
46-
duration: 400,
47-
},
45+
delay: 0,
46+
duration: 400,
47+
},
4848
resetHeightDelay = 0,
4949
onload = null,
5050
placeholder = null,

0 commit comments

Comments
 (0)