@momo-kits/calendar 0.169.7-beta.2 → 0.169.7-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Util.ts +2 -2
  2. package/package.json +1 -1
package/Util.ts CHANGED
@@ -123,7 +123,7 @@ const Utils = {
123
123
  if (holiday.solar[headerInfo.month() + 1]) {
124
124
  // @ts-ignore
125
125
  holiday.solar[headerInfo.month() + 1].forEach(
126
- (date: { month: number; day: any }) => {
126
+ (date: { month: number; day: number }) => {
127
127
  const dateAsMoment = moment({
128
128
  year: headerInfo.year(),
129
129
  month: date.month - 1,
@@ -136,7 +136,7 @@ const Utils = {
136
136
  );
137
137
  }
138
138
 
139
- holiday.lunar.forEach((item: { lunarDay: any; lunarMonth: any }) => {
139
+ holiday.lunar.forEach(item => {
140
140
  if (currentYear instanceof Array) {
141
141
  const solar1 = converter.LunarToSolar({
142
142
  lunarDay: item.lunarDay,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/calendar",
3
- "version": "0.169.7-beta.2",
3
+ "version": "0.169.7-beta.3",
4
4
  "private": false,
5
5
  "main": "index.tsx",
6
6
  "peerDependencies": {