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

Add [Symbol.toStringTag] property to all interfaces #1699

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
219 changes: 219 additions & 0 deletions baselines/audioworklet.tostringtag.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,219 @@
/////////////////////////////
/// AudioWorklet [Symbol.toStringTag] APIs
/////////////////////////////

interface AbortController {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface AudioWorkletProcessor {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface CompressionStream {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface DecompressionStream {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface Event {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface EventTarget {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface ReadableByteStreamController {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface ReadableStream {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface ReadableStreamBYOBReader {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface ReadableStreamBYOBRequest {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface ReadableStreamDefaultController {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface ReadableStreamDefaultReader {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface TextDecoder {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface TextDecoderStream {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface TextEncoder {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface TextEncoderStream {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface TransformStream {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface TransformStreamDefaultController {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface URL {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface URLSearchParams {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface WorkletGlobalScope {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface WritableStream {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface WritableStreamDefaultController {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}

interface WritableStreamDefaultWriter {
/**
* The well-known symbol @@toStringTag.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toStringTag)
*/
readonly [Symbol.toStringTag]: string;
}
Loading
Loading