From 4e9f4ae73183113a4567913f022a97edf86f04a4 Mon Sep 17 00:00:00 2001 From: DeepCold Date: Sat, 1 Sep 2018 20:55:45 +0800 Subject: [PATCH] format --- types/weixin-app/index.d.ts | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/types/weixin-app/index.d.ts b/types/weixin-app/index.d.ts index b90ab8f4c6..8af88ba63d 100644 --- a/types/weixin-app/index.d.ts +++ b/types/weixin-app/index.d.ts @@ -2267,7 +2267,7 @@ declare namespace wx { * @version 1.4.0 */ function createSelectorQuery(): SelectorQuery; - + /** * WXML节点布局相交状态 */ @@ -2311,12 +2311,22 @@ declare namespace wx { }; } interface createIntersectionObserverCallBack { - relativeTo(selector?: string, margins?: margins): createIntersectionObserverCallBack; - relativeToViewport(margins?: margins): createIntersectionObserverCallBack; - observe(selector?: string, callback?: (response: observeResponse) => void): createIntersectionObserverCallBack; + 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; + function createIntersectionObserver( + options?: createIntersectionObserverOption + ): createIntersectionObserverCallBack; interface NodesRefRect { /** 节点的ID */