Skip to content

Commit

Permalink
Update declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
turansky committed Jul 13, 2023
1 parent 1069a8c commit 3611834
Show file tree
Hide file tree
Showing 38 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/js/intl/ListFormat.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

package js.intl

import js.core.JsIterable
import js.core.ReadonlyArray
import js.iterable.JsIterable

external class ListFormat(
locales: BCP47LanguageTag = definedExternally,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.cssom

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/**
* An object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE).
Expand Down
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/web/cssom/CSSRuleList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.cssom

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/**
* A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.cssom

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/**
* An object that is a CSS declaration block, and exposes style information and various style-related methods and properties.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
package web.cssom

import js.collections.ListLike
import js.core.IterableIterator
import js.core.JsTuple2
import js.core.ReadonlyArray
import js.iterable.IterableIterator
import web.geometry.DOMMatrix

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue) */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
package web.cssom

import js.collections.ListLike
import js.core.IterableIterator
import js.core.JsTuple2
import js.core.ReadonlyArray
import js.iterable.IterableIterator

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue) */
external class CSSUnparsedValue(
Expand Down
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/web/cssom/MediaList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.cssom

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaList) */
sealed external class MediaList :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
package web.cssom

import js.collections.MapLike
import js.core.JsIterable
import js.core.ReadonlyArray
import js.iterable.JsIterable

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly) */
sealed external class StylePropertyMapReadOnly :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.cssom

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/**
* A list of StyleSheet.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.data

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable
import web.file.File

/**
Expand Down
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/web/dom/DOMStringList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.dom

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/**
* A type returned by some APIs which contains a list of DOMString (strings).
Expand Down
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/web/dom/NamedNodeMap.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.dom

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/**
* A collection of Attr objects. Objects inside a NamedNodeMap are not in any particular order, unlike NodeList, although they may be accessed by an index as in an array.
Expand Down
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/web/file/FileList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.file

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/**
* An object of this type is returned by the files property of the HTML <input> element; this lets you access the list of files selected with the <input type="file"> element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.geometry

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

sealed external class DOMRectList :
ArrayLike<DOMRect>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.html

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable
import web.dom.Element

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.html

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable
import web.dom.DOMTokenList
import web.dom.Element
import web.window.WindowTarget
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package web.html

import js.core.JsIterable
import js.iterable.JsIterable
import web.dom.NodeListOf

/**
Expand Down
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/web/http/FormData.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
package web.http

import js.collections.MapLike
import js.core.IterableIterator
import js.core.JsTuple2
import js.core.ReadonlyArray
import js.iterable.IterableIterator
import web.buffer.Blob
import web.events.EventTarget

Expand Down
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/web/http/Headers.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
package web.http

import js.collections.MapLike
import js.core.IterableIterator
import js.core.JsTuple2
import js.core.ReadonlyArray
import js.iterable.IterableIterator

/**
* This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs.  You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.media.source

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable
import web.events.Event
import web.events.EventHandler
import web.events.EventTarget
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.speech

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult) */
sealed external class SpeechRecognitionResult :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.speech

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList) */
sealed external class SpeechRecognitionResultList :
Expand Down
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/web/svg/SVGLengthList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.svg

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/**
* The SVGLengthList defines a list of SVGLength objects.
Expand Down
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/web/svg/SVGNumberList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.svg

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/**
* The SVGNumberList defines a list of SVGNumber objects.
Expand Down
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/web/svg/SVGPointList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.svg

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable
import web.geometry.DOMPoint

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList) */
Expand Down
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/web/svg/SVGStringList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.svg

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/**
* The SVGStringList defines a list of DOMString objects.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.svg

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable
import web.geometry.DOMMatrix2DInit
import web.geometry.DOMMatrixReadOnly

Expand Down
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/web/uievents/TouchList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package web.uievents

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/**
* A list of contact points on a touch surface. For example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one Touch object for each finger, for a total of three entries.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
package web.url

import js.collections.MapLike
import js.core.IterableIterator
import js.core.JsTuple2
import js.core.ReadonlyArray
import js.core.ReadonlyRecord
import js.iterable.IterableIterator

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams) */
external class URLSearchParams(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package webvtt

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCueList) */
sealed external class TextTrackCueList :
Expand Down
2 changes: 1 addition & 1 deletion browser-kotlin/src/jsMain/kotlin/webvtt/TextTrackList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package webvtt

import js.core.ArrayLike
import js.core.JsIterable
import js.iterable.JsIterable
import web.events.Event
import web.events.EventHandler
import web.events.EventTarget
Expand Down
2 changes: 1 addition & 1 deletion node-kotlin/src/jsMain/kotlin/node/buffer/Buffer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
package node.buffer

import js.core.BigInt
import js.core.IterableIterator
import js.core.JsTuple2
import js.core.ReadonlyArray
import js.iterable.IterableIterator
import js.typedarrays.TypedArray
import js.typedarrays.Uint8Array

Expand Down
2 changes: 1 addition & 1 deletion node-kotlin/src/jsMain/kotlin/node/events/EventEmitter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

package node.events

import js.core.AsyncIterableIterator
import js.core.ReadonlyArray
import js.core.Symbol
import js.iterable.AsyncIterableIterator
import js.promise.Promise

open external class EventEmitter : IEventEmitter {
Expand Down
2 changes: 1 addition & 1 deletion node-kotlin/src/jsMain/kotlin/node/fs/Dir.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

package node.fs

import js.core.AsyncIterable
import js.core.Void
import js.iterable.AsyncIterable
import js.promise.Promise
import node.ErrnoException

Expand Down
2 changes: 1 addition & 1 deletion node-kotlin/src/jsMain/kotlin/node/fs/watch.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

package node.fs

import js.core.AsyncIterable
import js.iterable.AsyncIterable
import node.buffer.BufferEncoding

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package typescript

import js.core.JsIterator
import js.iterable.JsIterator

/** Common read methods for ES6 Map/Set. */
sealed external interface ReadonlyCollection<K> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

package typescript

import js.core.JsIterator
import js.core.JsTuple2
import js.iterable.JsIterator

/** ES6 Map interface, only read methods included. */
sealed external interface ReadonlyESMap<K, V> : ReadonlyCollection<K> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

package typescript

import js.core.JsIterator
import js.core.JsTuple2
import js.iterable.JsIterator

/** ES6 Set interface, only read methods included. */
sealed external interface ReadonlySet<T> : ReadonlyCollection<T> {
Expand Down

0 comments on commit 3611834

Please sign in to comment.