Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/DOMAPI.res
Original file line number Diff line number Diff line change
Expand Up @@ -3020,7 +3020,7 @@ and htmlCollectionOf<'t> = {
}

/**
A collection of HTML form control elements.
A collection of HTML form control elements.
[See HTMLFormControlsCollection on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormControlsCollection)
*/
@editor.completeFrom(HTMLFormControlsCollection) and htmlFormControlsCollection = {
Expand Down Expand Up @@ -9403,7 +9403,7 @@ type imageData = {
Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/ImageData/data)
*/
data: array<int>,
data: Uint8ClampedArray.t,
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/ImageData/colorSpace)
*/
Expand Down
2 changes: 1 addition & 1 deletion src/DOMAPI/ImageData.res
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ external make: (~sw: int, ~sh: int, ~settings: imageDataSettings=?) => imageData
*/
@new
external make2: (
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename the function as well while you are here:

Suggested change
external make2: (
external makeWithData: (

~data: array<int>,
~data: Uint8ClampedArray.t,
~sw: int,
~sh: int=?,
~settings: imageDataSettings=?,
Expand Down