Make TextEncoderEncodeIntoResult members required (#1547)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
This commit is contained in:
Родитель
f78a9d7ef7
Коммит
83161783b8
|
@ -124,8 +124,8 @@ interface TextDecoderOptions {
|
|||
}
|
||||
|
||||
interface TextEncoderEncodeIntoResult {
|
||||
read?: number;
|
||||
written?: number;
|
||||
read: number;
|
||||
written: number;
|
||||
}
|
||||
|
||||
interface Transformer<I = any, O = any> {
|
||||
|
|
|
@ -1854,8 +1854,8 @@ interface TextDecoderOptions {
|
|||
}
|
||||
|
||||
interface TextEncoderEncodeIntoResult {
|
||||
read?: number;
|
||||
written?: number;
|
||||
read: number;
|
||||
written: number;
|
||||
}
|
||||
|
||||
interface TouchEventInit extends EventModifierInit {
|
||||
|
|
|
@ -651,8 +651,8 @@ interface TextDecoderOptions {
|
|||
}
|
||||
|
||||
interface TextEncoderEncodeIntoResult {
|
||||
read?: number;
|
||||
written?: number;
|
||||
read: number;
|
||||
written: number;
|
||||
}
|
||||
|
||||
interface Transformer<I = any, O = any> {
|
||||
|
|
|
@ -617,8 +617,8 @@ interface TextDecoderOptions {
|
|||
}
|
||||
|
||||
interface TextEncoderEncodeIntoResult {
|
||||
read?: number;
|
||||
written?: number;
|
||||
read: number;
|
||||
written: number;
|
||||
}
|
||||
|
||||
interface Transformer<I = any, O = any> {
|
||||
|
|
|
@ -691,8 +691,8 @@ interface TextDecoderOptions {
|
|||
}
|
||||
|
||||
interface TextEncoderEncodeIntoResult {
|
||||
read?: number;
|
||||
written?: number;
|
||||
read: number;
|
||||
written: number;
|
||||
}
|
||||
|
||||
interface Transformer<I = any, O = any> {
|
||||
|
|
|
@ -3367,6 +3367,19 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
// TextEncoderEncodeIntoResult is used only for return type, always with all fields defined
|
||||
"TextEncoderEncodeIntoResult": {
|
||||
"members": {
|
||||
"member": {
|
||||
"read": {
|
||||
"required": true
|
||||
},
|
||||
"written": {
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"UnderlyingSource": {
|
||||
"typeParameters": [
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче