Skip to content

Commit 383fa80

Browse files
committed
Add labels to functions with more than one parameter
1 parent 5ee8bff commit 383fa80

File tree

430 files changed

+4061
-1724
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

430 files changed

+4061
-1724
lines changed

src/CSSFontLoadingAPI.res.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Generated by ReScript, PLEASE EDIT WITH CARE
2+
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */

src/CSSFontLoadingAPI/FontFace.res

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ open Prelude
55
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace)
66
*/
77
@new
8-
external make: (string, unknown, fontFaceDescriptors) => fontFace = "FontFace"
8+
external make: (~family: string, ~source: unknown, ~descriptors: fontFaceDescriptors) => fontFace =
9+
"FontFace"
910
/**
1011
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFace/load)
1112
*/
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Generated by ReScript, PLEASE EDIT WITH CARE
2+
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */

src/CSSFontLoadingAPI/FontFaceSet.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ external clear: fontFaceSet => unit = "clear"
130130
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFaceSet/load)
131131
*/
132132
@send
133-
external load: (fontFaceSet, string, string) => Promise.t<array<fontFace>> = "load"
133+
external load: (fontFaceSet, ~font: string, ~text: string) => Promise.t<array<fontFace>> = "load"
134134

135135
/**
136136
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/FontFaceSet/check)
137137
*/
138138
@send
139-
external check: (fontFaceSet, string, string) => bool = "check"
139+
external check: (fontFaceSet, ~font: string, ~text: string) => bool = "check"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Generated by ReScript, PLEASE EDIT WITH CARE
2+
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */

src/CanvasAPI.res.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Generated by ReScript, PLEASE EDIT WITH CARE
2+
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */

src/CanvasAPI/ImageBitmap.res.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Generated by ReScript, PLEASE EDIT WITH CARE
2+
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */

src/CanvasAPI/OffscreenCanvas.res

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ open FileAPI
88
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas)
99
*/
1010
@new
11-
external make: (int, int) => offscreenCanvas = "OffscreenCanvas"
11+
external make: (~width: int, ~height: int) => offscreenCanvas = "OffscreenCanvas"
1212
/**
1313
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
1414
@@ -127,8 +127,8 @@ Returns null if the canvas has already been initialized with another context typ
127127
@send
128128
external getContext: (
129129
offscreenCanvas,
130-
offscreenRenderingContextId,
131-
any,
130+
~contextId: offscreenRenderingContextId,
131+
~options: any,
132132
) => offscreenRenderingContext = "getContext"
133133

134134
/**

src/CanvasAPI/OffscreenCanvas.res.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Generated by ReScript, PLEASE EDIT WITH CARE
2+
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */

src/ChannelMessagingAPI.res.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Generated by ReScript, PLEASE EDIT WITH CARE
2+
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */

0 commit comments

Comments
 (0)