Skip to content

Fix unused open warnings #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 0 additions & 1 deletion src/CSSFontLoadingAPI/FontFaceSet.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open EventAPI
open CSSFontLoadingAPI

include EventTarget.Impl({
Expand Down
2 changes: 0 additions & 2 deletions src/CanvasAPI/OffscreenCanvas.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
open EventAPI
open CanvasAPI
open Prelude
open FileAPI

/**
Expand Down
1 change: 0 additions & 1 deletion src/DOMAPI/CharacterData.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
open DOMAPI
open EventAPI

module Impl = (
T: {
Expand Down
1 change: 0 additions & 1 deletion src/DOMAPI/DocumentFragment.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
open DOMAPI
open EventAPI

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DocumentFragmentFragment)
Expand Down
2 changes: 0 additions & 2 deletions src/DOMAPI/ElementInternals.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
open FileAPI
open FetchAPI
open DOMAPI

/**
Expand Down
1 change: 0 additions & 1 deletion src/DOMAPI/ScreenOrientation.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open EventAPI
open DOMAPI

include EventTarget.Impl({
Expand Down
1 change: 0 additions & 1 deletion src/DOMAPI/TextTrackList.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open EventAPI
open DOMAPI
open WebVTTAPI

Expand Down
2 changes: 0 additions & 2 deletions src/DOMAPI/Window.res
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
open Prelude
open DOMAPI
open CanvasAPI
open FileAPI
open ChannelMessagingAPI
open FetchAPI
open EventAPI

include EventTarget.Impl({
type t = window
Expand Down
1 change: 0 additions & 1 deletion src/EncryptedMediaExtensionsAPI.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@@warning("-30")

open Prelude
open EventAPI

type mediaKeysRequirement =
Expand Down
2 changes: 0 additions & 2 deletions src/EventAPI.res
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@@warning("-30")

open Prelude

@unboxed
type eventType =
| @as("abort") Abort
Expand Down
1 change: 0 additions & 1 deletion src/EventAPI/AbortController.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open Prelude
open EventAPI

/**
Expand Down
1 change: 0 additions & 1 deletion src/FetchAPI/Request.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
open FetchAPI
open FileAPI
open Prelude

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Request)
Expand Down
1 change: 0 additions & 1 deletion src/FetchAPI/Response.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
open FetchAPI
open FileAPI
open Prelude

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Response)
Expand Down
1 change: 0 additions & 1 deletion src/FileAPI/FileSystemWritableFileStream.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open Prelude
open FileAPI

external asWritableStream: fileSystemWritableFileStream => writableStream<'w> = "%identity"
Expand Down
1 change: 0 additions & 1 deletion src/FileAPI/ReadableStream.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open Prelude
open FileAPI

/**
Expand Down
1 change: 0 additions & 1 deletion src/FileAPI/WritableStream.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open Prelude
open FileAPI

/**
Expand Down
1 change: 0 additions & 1 deletion src/FileAPI/WritableStreamDefaultController.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open Prelude
open FileAPI

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open DOMAPI
open FileAndDirectoryEntriesAPI

/**
Expand Down
2 changes: 0 additions & 2 deletions src/HistoryAPI.res
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@@warning("-30")

open Prelude

type scrollRestoration =
| @as("auto") Auto
| @as("manual") Manual
Expand Down
1 change: 0 additions & 1 deletion src/HistoryAPI/History.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
open HistoryAPI
open Prelude

/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/History/go)
Expand Down
1 change: 0 additions & 1 deletion src/IndexedDBAPI/IDBDatabase.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open EventAPI
open IndexedDBAPI

include EventTarget.Impl({
Expand Down
1 change: 0 additions & 1 deletion src/IndexedDBAPI/IDBFactory.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
open IndexedDBAPI
open Prelude

/**
Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request's result will be the connection.
Expand Down
1 change: 0 additions & 1 deletion src/MediaCaptureAndStreamsAPI/MediaDevices.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open EventAPI
open MediaCaptureAndStreamsAPI

include EventTarget.Impl({
Expand Down
2 changes: 0 additions & 2 deletions src/MediaSessionAPI.res
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@@warning("-30")

open Prelude

type mediaSessionPlaybackState =
| @as("none") None
| @as("paused") Paused
Expand Down
1 change: 0 additions & 1 deletion src/NotificationAPI.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@@warning("-30")

open Prelude
open EventAPI

type notificationDirection =
Expand Down
1 change: 0 additions & 1 deletion src/PerformanceAPI/Performance.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open EventAPI
open PerformanceAPI

include EventTarget.Impl({
Expand Down
1 change: 0 additions & 1 deletion src/PushAPI.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@@warning("-30")

open Prelude
open EventAPI

type permissionState =
Expand Down
1 change: 0 additions & 1 deletion src/ResizeObserverAPI.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@@warning("-30")

open Prelude
open DOMAPI

type resizeObserverBoxOptions =
Expand Down
1 change: 0 additions & 1 deletion src/ScreenWakeLockAPI/WakeLockSentinel.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open EventAPI
open ScreenWakeLockAPI

include EventTarget.Impl({
Expand Down
2 changes: 0 additions & 2 deletions src/ServiceWorkerAPI/ServiceWorker.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
open EventAPI
open ServiceWorkerAPI
open Prelude
open ChannelMessagingAPI

include EventTarget.Impl({
Expand Down
1 change: 0 additions & 1 deletion src/ServiceWorkerAPI/ServiceWorkerRegistration.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open EventAPI
open ServiceWorkerAPI
open NotificationAPI

Expand Down
2 changes: 0 additions & 2 deletions src/ViewTransitionsAPI.res
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@@warning("-30")

open Prelude

/**
[See ViewTransition on MDN](https://developer.mozilla.org/docs/Web/API/ViewTransition)
*/
Expand Down
1 change: 0 additions & 1 deletion src/WebLocksAPI.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@@warning("-30")

open Prelude
open EventAPI

type lockMode =
Expand Down
1 change: 0 additions & 1 deletion src/WebLocksAPI/LockManager.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open Prelude
open WebLocksAPI

/**
Expand Down
1 change: 0 additions & 1 deletion src/WebSocketsAPI/WebSocket.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open EventAPI
open WebSocketsAPI
open FileAPI

Expand Down
1 change: 0 additions & 1 deletion src/WebSpeechAPI/SpeechSynthesis.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open EventAPI
open WebSpeechAPI

include EventTarget.Impl({
Expand Down
1 change: 0 additions & 1 deletion src/WebVTTAPI.res
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@@warning("-30")

open Prelude
open EventAPI

type textTrackKind =
Expand Down
1 change: 0 additions & 1 deletion src/WebVTTAPI/TextTrack.res
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
open EventAPI
open WebVTTAPI

include EventTarget.Impl({
Expand Down
Loading