Skip to content

Commit dac2f49

Browse files
committed
[cssom-view] Escape Promise<undefined> properly.
Closes #12930
1 parent d17df3a commit dac2f49

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

cssom-view-1/Overview.bs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -590,12 +590,12 @@ partial interface Window {
590590
[Replaceable] readonly attribute double pageXOffset;
591591
[Replaceable] readonly attribute double scrollY;
592592
[Replaceable] readonly attribute double pageYOffset;
593-
Promise<undefined> scroll(optional ScrollToOptions options = {});
594-
Promise<undefined> scroll(unrestricted double x, unrestricted double y);
595-
Promise<undefined> scrollTo(optional ScrollToOptions options = {});
596-
Promise<undefined> scrollTo(unrestricted double x, unrestricted double y);
597-
Promise<undefined> scrollBy(optional ScrollToOptions options = {});
598-
Promise<undefined> scrollBy(unrestricted double x, unrestricted double y);
593+
Promise&lt;undefined> scroll(optional ScrollToOptions options = {});
594+
Promise&lt;undefined> scroll(unrestricted double x, unrestricted double y);
595+
Promise&lt;undefined> scrollTo(optional ScrollToOptions options = {});
596+
Promise&lt;undefined> scrollTo(unrestricted double x, unrestricted double y);
597+
Promise&lt;undefined> scrollBy(optional ScrollToOptions options = {});
598+
Promise&lt;undefined> scrollBy(unrestricted double x, unrestricted double y);
599599

600600
// client
601601
[Replaceable] readonly attribute long screenX;
@@ -1320,13 +1320,13 @@ partial interface Element {
13201320

13211321
boolean checkVisibility(optional CheckVisibilityOptions options = {});
13221322

1323-
Promise<undefined> scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
1324-
Promise<undefined> scroll(optional ScrollToOptions options = {});
1325-
Promise<undefined> scroll(unrestricted double x, unrestricted double y);
1326-
Promise<undefined> scrollTo(optional ScrollToOptions options = {});
1327-
Promise<undefined> scrollTo(unrestricted double x, unrestricted double y);
1328-
Promise<undefined> scrollBy(optional ScrollToOptions options = {});
1329-
Promise<undefined> scrollBy(unrestricted double x, unrestricted double y);
1323+
Promise&lt;undefined> scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
1324+
Promise&lt;undefined> scroll(optional ScrollToOptions options = {});
1325+
Promise&lt;undefined> scroll(unrestricted double x, unrestricted double y);
1326+
Promise&lt;undefined> scrollTo(optional ScrollToOptions options = {});
1327+
Promise&lt;undefined> scrollTo(unrestricted double x, unrestricted double y);
1328+
Promise&lt;undefined> scrollBy(optional ScrollToOptions options = {});
1329+
Promise&lt;undefined> scrollBy(unrestricted double x, unrestricted double y);
13301330
attribute unrestricted double scrollTop;
13311331
attribute unrestricted double scrollLeft;
13321332
readonly attribute long scrollWidth;

0 commit comments

Comments
 (0)