Skip to content

Commit 0e05720

Browse files
committed
Correct the opens of the nested modules
1 parent f31dee1 commit 0e05720

File tree

325 files changed

+1474
-4485
lines changed

Some content is hidden

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

325 files changed

+1474
-4485
lines changed

src/CSSFontLoading/FontFace.res

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
open Event
1+
@@warning("-44")
2+
@@warning("-33")
23
open CSSFontLoading
4+
open Prelude
35

46
module FontFace = {
57
/**

src/CSSFontLoading/FontFaceSet.res

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
open Event
1+
@@warning("-44")
2+
@@warning("-33")
23
open CSSFontLoading
34

45
module FontFaceSet = {

src/Canvas/ImageBitmap.res

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
open Prelude
2-
open Event
3-
open File
1+
@@warning("-44")
2+
@@warning("-33")
43
open Canvas
54

65
module ImageBitmap = {

src/Canvas/OffscreenCanvas.res

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
@@warning("-44")
2+
@@warning("-33")
3+
open DOM
4+
open Canvas
15
open Prelude
2-
open Event
36
open File
4-
open Canvas
57

68
module OffscreenCanvas = {
79
/**

src/ChannelMessaging/MessagePort.res

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
@@warning("-44")
2+
@@warning("-33")
13
open Prelude
2-
open Event
34
open ChannelMessaging
45

56
module MessagePort = {

src/Clipboard/ClipboardItem.res

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
open Prelude
2-
open Event
1+
@@warning("-44")
2+
@@warning("-33")
33
open File
44
open Clipboard
5+
open Prelude
56

67
module ClipboardItem = {
78
/**

src/Clipboard/ClipboardModule.res

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
open Prelude
2-
open Event
3-
open File
1+
@@warning("-44")
2+
@@warning("-33")
43
open Clipboard
54

65
module Clipboard = {

src/CredentialManagement/Credential.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/CredentialManagement/Credential.res

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/CredentialManagement/CredentialsContainer.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
open Prelude
2-
open Event
1+
@@warning("-44")
2+
@@warning("-33")
33
open CredentialManagement
44

55
module CredentialsContainer = {

src/DOM.res

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,50 @@ type canPlayTypeResult =
9494
| @as("maybe") Maybe
9595
| @as("probably") Probably
9696

97+
type animationPlayState =
98+
| @as("finished") Finished
99+
| @as("idle") Idle
100+
| @as("paused") Paused
101+
| @as("running") Running
102+
103+
type animationReplaceState =
104+
| @as("active") Active
105+
| @as("persisted") Persisted
106+
| @as("removed") Removed
107+
108+
type fillMode =
109+
| @as("auto") Auto
110+
| @as("backwards") Backwards
111+
| @as("both") Both
112+
| @as("forwards") Forwards
113+
| @as("none") None
114+
115+
type playbackDirection =
116+
| @as("alternate") Alternate
117+
| @as("alternate-reverse") AlternateReverse
118+
| @as("normal") Normal
119+
| @as("reverse") Reverse
120+
121+
type imageOrientation =
122+
| @as("flipY") FlipY
123+
| @as("from-image") FromImage
124+
| @as("none") None
125+
126+
type premultiplyAlpha =
127+
| @as("default") Default
128+
| @as("none") None
129+
| @as("premultiply") Premultiply
130+
131+
type colorSpaceConversion =
132+
| @as("default") Default
133+
| @as("none") None
134+
135+
type resizeQuality =
136+
| @as("high") High
137+
| @as("low") Low
138+
| @as("medium") Medium
139+
| @as("pixelated") Pixelated
140+
97141
type shareData = {
98142
mutable files: array<file>,
99143
mutable title: string,
@@ -8889,6 +8933,103 @@ type htmlVideoElement = {
88898933
mutable disablePictureInPicture: bool,
88908934
}
88918935

8936+
/**
8937+
[See AnimationEffect on MDN](https://developer.mozilla.org/docs/Web/API/AnimationEffect)
8938+
*/
8939+
type animationEffect = {}
8940+
8941+
/**
8942+
This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information its DOM tree.
8943+
[See XPathExpression on MDN](https://developer.mozilla.org/docs/Web/API/XPathExpression)
8944+
*/
8945+
type xPathExpression = {}
8946+
8947+
/**
8948+
The results generated by evaluating an XPath expression within the context of a given node.
8949+
[See XPathResult on MDN](https://developer.mozilla.org/docs/Web/API/XPathResult)
8950+
*/
8951+
type xPathResult = {
8952+
/**
8953+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/XPathResult/resultType)
8954+
*/
8955+
resultType: int,
8956+
/**
8957+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/XPathResult/numberValue)
8958+
*/
8959+
numberValue: any,
8960+
/**
8961+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/XPathResult/stringValue)
8962+
*/
8963+
stringValue: string,
8964+
/**
8965+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/XPathResult/booleanValue)
8966+
*/
8967+
booleanValue: bool,
8968+
/**
8969+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/XPathResult/singleNodeValue)
8970+
*/
8971+
singleNodeValue: Null.t<node>,
8972+
/**
8973+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/XPathResult/invalidIteratorState)
8974+
*/
8975+
invalidIteratorState: bool,
8976+
/**
8977+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/XPathResult/snapshotLength)
8978+
*/
8979+
snapshotLength: int,
8980+
}
8981+
8982+
/**
8983+
[See Animation on MDN](https://developer.mozilla.org/docs/Web/API/Animation)
8984+
*/
8985+
type rec animation = {
8986+
...eventTarget,
8987+
/**
8988+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Animation/id)
8989+
*/
8990+
mutable id: string,
8991+
/**
8992+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Animation/effect)
8993+
*/
8994+
mutable effect: Null.t<animationEffect>,
8995+
/**
8996+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Animation/timeline)
8997+
*/
8998+
mutable timeline: Null.t<animationTimeline>,
8999+
/**
9000+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Animation/playbackRate)
9001+
*/
9002+
mutable playbackRate: float,
9003+
/**
9004+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Animation/playState)
9005+
*/
9006+
playState: animationPlayState,
9007+
/**
9008+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Animation/replaceState)
9009+
*/
9010+
replaceState: animationReplaceState,
9011+
/**
9012+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Animation/pending)
9013+
*/
9014+
pending: bool,
9015+
/**
9016+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Animation/ready)
9017+
*/
9018+
ready: Promise.t<animation>,
9019+
/**
9020+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Animation/finished)
9021+
*/
9022+
finished: Promise.t<animation>,
9023+
/**
9024+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Animation/startTime)
9025+
*/
9026+
mutable startTime: Null.t<float>,
9027+
/**
9028+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Animation/currentTime)
9029+
*/
9030+
mutable currentTime: Null.t<float>,
9031+
}
9032+
88929033
type elementDefinitionOptions = {mutable extends: string}
88939034

88949035
type documentTimelineOptions = {mutable originTime: float}
@@ -8972,6 +9113,62 @@ type videoFrameCallbackMetadata = {
89729113

89739114
type assignedNodesOptions = {mutable flatten: bool}
89749115

9116+
type focusOptions = {mutable preventScroll: bool}
9117+
9118+
type effectTiming = {
9119+
mutable fill: fillMode,
9120+
mutable iterationStart: float,
9121+
mutable iterations: any,
9122+
mutable direction: playbackDirection,
9123+
mutable easing: string,
9124+
mutable delay: float,
9125+
mutable endDelay: float,
9126+
mutable playbackRate: float,
9127+
mutable duration: unknown,
9128+
}
9129+
9130+
type getAnimationsOptions = {mutable subtree: bool}
9131+
9132+
type computedEffectTiming = {
9133+
...effectTiming,
9134+
mutable progress: Null.t<float>,
9135+
mutable currentIteration: Null.t<any>,
9136+
mutable startTime: float,
9137+
mutable endTime: float,
9138+
mutable activeDuration: float,
9139+
mutable localTime: Null.t<float>,
9140+
}
9141+
9142+
type optionalEffectTiming = {
9143+
mutable delay: float,
9144+
mutable endDelay: float,
9145+
mutable fill: fillMode,
9146+
mutable iterationStart: float,
9147+
mutable iterations: any,
9148+
mutable duration: unknown,
9149+
mutable direction: playbackDirection,
9150+
mutable easing: string,
9151+
mutable playbackRate: float,
9152+
}
9153+
9154+
type imageBitmapOptions = {
9155+
mutable imageOrientation: imageOrientation,
9156+
mutable premultiplyAlpha: premultiplyAlpha,
9157+
mutable colorSpaceConversion: colorSpaceConversion,
9158+
mutable resizeWidth: int,
9159+
mutable resizeHeight: int,
9160+
mutable resizeQuality: resizeQuality,
9161+
}
9162+
9163+
type structuredSerializeOptions = {mutable transfer: array<Dict.t<string>>}
9164+
9165+
type xPathNSResolver = any
9166+
9167+
type timerHandler = any
9168+
9169+
type voidFunction = unit => unit
9170+
type imageBitmapSource = any
9171+
89759172
type customElementConstructor = htmlElement
89769173

89779174
type idleRequestCallback = idleDeadline => unit
@@ -8981,3 +9178,5 @@ type fileSystemEntriesCallback = array<fileSystemEntry> => unit
89819178
type blobCallback = blob => unit
89829179

89839180
type videoFrameRequestCallback = float => videoFrameCallbackMetadata => unit
9181+
9182+
type frameRequestCallback = float => unit

src/DOM/AbstractRange.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/DOM/AbstractRange.res

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/DOM/Animation.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)