diff --git a/src/calendar/Calendar.tsx b/src/calendar/Calendar.tsx
index 27db35103..591742241 100644
--- a/src/calendar/Calendar.tsx
+++ b/src/calendar/Calendar.tsx
@@ -190,7 +190,7 @@ export default defineComponent({
);
const months = computed(() => {
- const months = [];
+ const months: Date[] = [];
const cursor = new Date(props.minDate);
cursor.setDate(1);
diff --git a/src/progress/test/__snapshots__/demo.spec.ts.snap b/src/progress/test/__snapshots__/demo.spec.ts.snap
index 1c6749539..d6823180b 100644
--- a/src/progress/test/__snapshots__/demo.spec.ts.snap
+++ b/src/progress/test/__snapshots__/demo.spec.ts.snap
@@ -4,13 +4,13 @@ exports[`should render demo and match snapshot 1`] = `
@@ -19,62 +19,95 @@ exports[`should render demo and match snapshot 1`] = `
style="height: 8px;"
>
-
- 50%
-
+
+
+ 50%
-
- Orange
-
+
+
+ Orange
-
- Red
-
+
+
+ Red
-
- Purple
-
+
+ Purple
+
+
+
+
+
+
+
+
+ 0%
+
+
+
+
+
`;
diff --git a/src/progress/test/__snapshots__/index.spec.ts.snap b/src/progress/test/__snapshots__/index.spec.ts.snap
index fe02e3fdc..059eded41 100644
--- a/src/progress/test/__snapshots__/index.spec.ts.snap
+++ b/src/progress/test/__snapshots__/index.spec.ts.snap
@@ -3,7 +3,7 @@
exports[`should re-calc width if showing pivot dynamically 1`] = `
@@ -12,13 +12,13 @@ exports[`should re-calc width if showing pivot dynamically 1`] = `
exports[`should re-calc width if showing pivot dynamically 2`] = `
-
- test
-
+
+
+ test
`;
diff --git a/src/pull-refresh/PullRefresh.tsx b/src/pull-refresh/PullRefresh.tsx
index a7a97261c..89e4f7ec2 100644
--- a/src/pull-refresh/PullRefresh.tsx
+++ b/src/pull-refresh/PullRefresh.tsx
@@ -123,7 +123,7 @@ export default defineComponent({
return slots[status]!({ distance });
}
- const nodes = [];
+ const nodes: JSX.Element[] = [];
if (TEXT_STATUS.includes(status)) {
nodes.push({getStatusText()}
);