From 29f7fe8af55e77b684c42494d8353f6d6c35c79d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20de=20=C3=81vila=20Martins?= Date: Tue, 8 May 2018 21:50:14 -0300 Subject: [PATCH] Update typescript definition The compiler was complaining: xxx/node_modules/dayjs/index.d.ts(73,3): error TS7010: 'isSame', which lacks return-type annotation, implicitly has an 'any' return type. xxx/node_modules/dayjs/index.d.ts(75,3): error TS7010: 'isAfter', which lacks return-type annotation, implicitly has an 'any' return type. --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 315061d7f..f94444ff7 100644 --- a/index.d.ts +++ b/index.d.ts @@ -70,9 +70,9 @@ declare class Dayjs { isBefore(dayjs: Dayjs): boolean - isSame(dayjs: Dayjs) + isSame(dayjs: Dayjs): boolean - isAfter(dayjs: Dayjs) + isAfter(dayjs: Dayjs): boolean isLeapYear(): boolean }