From 2fcf1f14cf29bb68995f652f93a4f6e3cb55c8d7 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 21 Mar 2023 11:46:40 -0400 Subject: feat: TypeScript 5.0.2 (except decorators) (#18294) This upgrades TypeScript to 5.0.2, but does not have ES decorator support because swc does not support that yet. --- cli/tsc/dts/lib.dom.iterable.d.ts | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'cli/tsc/dts/lib.dom.iterable.d.ts') diff --git a/cli/tsc/dts/lib.dom.iterable.d.ts b/cli/tsc/dts/lib.dom.iterable.d.ts index 9cd574ca5..56d6fdcbc 100644 --- a/cli/tsc/dts/lib.dom.iterable.d.ts +++ b/cli/tsc/dts/lib.dom.iterable.d.ts @@ -14,10 +14,8 @@ and limitations under the License. ***************************************************************************** */ - /// - ///////////////////////////// /// Window Iterable APIs ///////////////////////////// @@ -34,6 +32,10 @@ interface BaseAudioContext { createPeriodicWave(real: Iterable, imag: Iterable, constraints?: PeriodicWaveConstraints): PeriodicWave; } +interface CSSKeyframesRule { + [Symbol.iterator](): IterableIterator; +} + interface CSSRuleList { [Symbol.iterator](): IterableIterator; } @@ -137,6 +139,16 @@ interface IDBObjectStore { createIndex(name: string, keyPath: string | Iterable, options?: IDBIndexParameters): IDBIndex; } +interface MIDIInputMap extends ReadonlyMap { +} + +interface MIDIOutput { + send(data: Iterable, timestamp?: DOMHighResTimeStamp): void; +} + +interface MIDIOutputMap extends ReadonlyMap { +} + interface MediaKeyStatusMap { [Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>; entries(): IterableIterator<[BufferSource, MediaKeyStatus]>; -- cgit v1.2.3