Skip to content

Commit 3575d1b

Browse files
committed
chore: drop types with poor browser support
1 parent 4004e36 commit 3575d1b

9 files changed

+192
-1307
lines changed

baselines/dom.generated.d.ts

Lines changed: 122 additions & 719 deletions
Large diffs are not rendered by default.

baselines/dom.iterable.generated.d.ts

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ interface IDBObjectStore {
125125
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
126126
}
127127

128+
interface MSCredentials {
129+
makeCredential(accountInfo: MSAccountInfo, params: Iterable<MSCredentialParameters>, challenge?: string): Promise<MSAssertion>;
130+
}
131+
128132
interface MediaKeyStatusMap {
129133
[Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;
130134
entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;
@@ -188,10 +192,6 @@ interface PluginArray {
188192
[Symbol.iterator](): IterableIterator<Plugin>;
189193
}
190194

191-
interface RTCRtpTransceiver {
192-
setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;
193-
}
194-
195195
interface RTCStatsReport extends ReadonlyMap<string, any> {
196196
}
197197

@@ -222,18 +222,6 @@ interface SourceBufferList {
222222
[Symbol.iterator](): IterableIterator<SourceBuffer>;
223223
}
224224

225-
interface SpeechGrammarList {
226-
[Symbol.iterator](): IterableIterator<SpeechGrammar>;
227-
}
228-
229-
interface SpeechRecognitionResult {
230-
[Symbol.iterator](): IterableIterator<SpeechRecognitionAlternative>;
231-
}
232-
233-
interface SpeechRecognitionResultList {
234-
[Symbol.iterator](): IterableIterator<SpeechRecognitionResult>;
235-
}
236-
237225
interface StyleSheetList {
238226
[Symbol.iterator](): IterableIterator<CSSStyleSheet>;
239227
}
@@ -266,10 +254,6 @@ interface URLSearchParams {
266254
values(): IterableIterator<string>;
267255
}
268256

269-
interface VRDisplay {
270-
requestPresent(layers: Iterable<VRLayer>): Promise<void>;
271-
}
272-
273257
interface WEBGL_draw_buffers {
274258
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
275259
}

0 commit comments

Comments
 (0)