Skip to content
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

Enable importing types via module #1874

Closed
wants to merge 9 commits into from
Closed
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
8 changes: 8 additions & 0 deletions baselines/module/audioworklet.asynciterable.generated.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/////////////////////////////
/// AudioWorklet Async Iterable APIs
/////////////////////////////

export interface ReadableStream<R = any> {
[Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): AsyncIterableIterator<R>;
values(options?: ReadableStreamIteratorOptions): AsyncIterableIterator<R>;
}
1,225 changes: 1,225 additions & 0 deletions baselines/module/audioworklet.generated.d.ts

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions baselines/module/audioworklet.iterable.generated.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/////////////////////////////
/// AudioWorklet Iterable APIs
/////////////////////////////

export interface MessageEvent<T = any> {
/** @deprecated */
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
}

export interface URLSearchParams {
[Symbol.iterator](): IterableIterator<[string, string]>;
/** Returns an array of key, value pairs for every entry in the search params. */
entries(): IterableIterator<[string, string]>;
/** Returns a list of keys in the search params. */
keys(): IterableIterator<string>;
/** Returns a list of values in the search params. */
values(): IterableIterator<string>;
}
15 changes: 15 additions & 0 deletions baselines/module/dom.asynciterable.generated.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/////////////////////////////
/// Window Async Iterable APIs
/////////////////////////////

export interface FileSystemDirectoryHandle {
[Symbol.asyncIterator](): AsyncIterableIterator<[string, FileSystemHandle]>;
entries(): AsyncIterableIterator<[string, FileSystemHandle]>;
keys(): AsyncIterableIterator<string>;
values(): AsyncIterableIterator<FileSystemHandle>;
}

export interface ReadableStream<R = any> {
[Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): AsyncIterableIterator<R>;
values(options?: ReadableStreamIteratorOptions): AsyncIterableIterator<R>;
}
Loading
Loading