From bf84f8bcf8840292e1d673dd044c1b11e1328591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B3=E6=99=97?= Date: Thu, 23 Aug 2018 18:46:47 +0800 Subject: [PATCH] change ()=> type to (): type --- types/weixin-app/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/weixin-app/index.d.ts b/types/weixin-app/index.d.ts index caff4bb6a6..a426ac6a5e 100644 --- a/types/weixin-app/index.d.ts +++ b/types/weixin-app/index.d.ts @@ -3210,10 +3210,10 @@ declare namespace wx { }; } interface createIntersectionObserverCallBack { - relativeTo: (selector?: string, margins?: margins) => createIntersectionObserverCallBack; - relativeToViewport: (margins?: margins) => createIntersectionObserverCallBack; - observe: (selector?: string, callback?: (response: observeResponse) => void) => createIntersectionObserverCallBack; - disconnect: () => void; + relativeTo(selector?: string, margins?: margins): createIntersectionObserverCallBack; + relativeToViewport(margins?: margins): createIntersectionObserverCallBack; + observe(selector?: string, callback?: (response: observeResponse) => void): createIntersectionObserverCallBack; + disconnect(): void; } function createIntersectionObserver(options?: createIntersectionObserverOption): createIntersectionObserverCallBack; // #endregion