@tsonic/dotnet 0.8.1 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
  2. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
  3. package/Microsoft.Win32/internal/index.d.ts +9 -9
  4. package/System/bindings.json +114 -114
  5. package/System/internal/index.d.ts +156 -154
  6. package/System/internal/metadata.json +73 -73
  7. package/System.Buffers/internal/index.d.ts +1 -1
  8. package/System.CodeDom.Compiler/internal/index.d.ts +1 -1
  9. package/System.Collections/internal/index.d.ts +12 -8
  10. package/System.Collections.Generic/internal/index.d.ts +22 -14
  11. package/System.Collections.Immutable/internal/index.d.ts +11 -11
  12. package/System.Collections.Specialized/internal/index.d.ts +20 -18
  13. package/System.ComponentModel/internal/index.d.ts +219 -209
  14. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +42 -32
  15. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -1
  16. package/System.ComponentModel.Design/internal/index.d.ts +40 -40
  17. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +17 -17
  18. package/System.Data/internal/index.d.ts +54 -46
  19. package/System.Data.Common/internal/index.d.ts +52 -44
  20. package/System.Data.SqlTypes/internal/index.d.ts +2 -2
  21. package/System.Diagnostics/internal/index.d.ts +85 -63
  22. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +30 -16
  23. package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
  24. package/System.Diagnostics.Metrics/internal/index.d.ts +14 -9
  25. package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
  26. package/System.Diagnostics.Tracing/internal/index.d.ts +11 -9
  27. package/System.Drawing/internal/index.d.ts +33 -33
  28. package/System.Dynamic/internal/index.d.ts +1 -1
  29. package/System.Formats.Tar/internal/index.d.ts +3 -2
  30. package/System.Globalization/internal/index.d.ts +8 -6
  31. package/System.IO/internal/index.d.ts +30 -27
  32. package/System.IO.Compression/internal/index.d.ts +1 -1
  33. package/System.IO.Enumeration/internal/index.d.ts +4 -2
  34. package/System.Linq/internal/index.d.ts +63 -63
  35. package/System.Linq.Expressions/internal/index.d.ts +13 -13
  36. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  37. package/System.Net/internal/index.d.ts +87 -63
  38. package/System.Net.Http/internal/index.d.ts +37 -21
  39. package/System.Net.Http.Headers/internal/index.d.ts +37 -20
  40. package/System.Net.Http.Json/internal/index.d.ts +39 -39
  41. package/System.Net.Mail/internal/index.d.ts +22 -12
  42. package/System.Net.Mime/internal/index.d.ts +4 -2
  43. package/System.Net.NetworkInformation/internal/index.d.ts +1 -1
  44. package/System.Net.Quic/internal/index.d.ts +3 -2
  45. package/System.Net.Security/internal/index.d.ts +38 -22
  46. package/System.Net.ServerSentEvents/internal/index.d.ts +2 -1
  47. package/System.Net.Sockets/internal/index.d.ts +23 -16
  48. package/System.Net.WebSockets/internal/index.d.ts +17 -11
  49. package/System.Numerics/bindings.json +408 -0
  50. package/System.Numerics/internal/metadata.json +272 -0
  51. package/System.Reflection/internal/index.d.ts +185 -182
  52. package/System.Reflection.Emit/internal/index.d.ts +82 -82
  53. package/System.Reflection.Metadata/bindings.json +48 -0
  54. package/System.Reflection.Metadata/internal/index.d.ts +5 -5
  55. package/System.Reflection.Metadata/internal/metadata.json +32 -0
  56. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +1 -1
  57. package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
  58. package/System.Resources/internal/index.d.ts +13 -12
  59. package/System.Runtime/internal/index.d.ts +2 -1
  60. package/System.Runtime.CompilerServices/internal/index.d.ts +15 -13
  61. package/System.Runtime.InteropServices/bindings.json +22 -22
  62. package/System.Runtime.InteropServices/internal/index.d.ts +46 -44
  63. package/System.Runtime.InteropServices/internal/metadata.json +13 -13
  64. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +1 -1
  65. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +3 -3
  66. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +16 -14
  67. package/System.Runtime.Loader/internal/index.d.ts +4 -4
  68. package/System.Runtime.Remoting/internal/index.d.ts +1 -1
  69. package/System.Runtime.Serialization/internal/index.d.ts +53 -43
  70. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +14 -14
  71. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
  72. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +2 -1
  73. package/System.Runtime.Serialization.Json/internal/index.d.ts +9 -8
  74. package/System.Runtime.Versioning/internal/index.d.ts +6 -3
  75. package/System.Security/internal/index.d.ts +35 -25
  76. package/System.Security.AccessControl/internal/index.d.ts +14 -10
  77. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +4 -4
  78. package/System.Security.Claims/internal/index.d.ts +16 -12
  79. package/System.Security.Cryptography/internal/index.d.ts +80 -66
  80. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +33 -32
  81. package/System.Security.Permissions/internal/index.d.ts +2 -2
  82. package/System.Security.Policy/internal/index.d.ts +2 -2
  83. package/System.Security.Principal/internal/index.d.ts +8 -10
  84. package/System.Text/internal/index.d.ts +13 -11
  85. package/System.Text.Json/internal/index.d.ts +67 -61
  86. package/System.Text.Json.Nodes/internal/index.d.ts +31 -31
  87. package/System.Text.Json.Schema/internal/index.d.ts +4 -3
  88. package/System.Text.Json.Serialization/internal/index.d.ts +9 -8
  89. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -42
  90. package/System.Threading/internal/index.d.ts +16 -15
  91. package/System.Threading.Tasks/internal/index.d.ts +4 -14
  92. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +3 -1
  93. package/System.Timers/internal/index.d.ts +4 -2
  94. package/System.Transactions/internal/index.d.ts +8 -6
  95. package/System.Web/internal/index.d.ts +24 -24
  96. package/System.Xml/internal/index.d.ts +100 -99
  97. package/System.Xml.Linq/internal/index.d.ts +16 -15
  98. package/System.Xml.Resolvers/internal/index.d.ts +1 -1
  99. package/System.Xml.Schema/internal/index.d.ts +129 -84
  100. package/System.Xml.Serialization/internal/index.d.ts +68 -47
  101. package/System.Xml.XPath/internal/index.d.ts +10 -10
  102. package/System.Xml.Xsl/internal/index.d.ts +7 -7
  103. package/System.Xml.Xsl.Runtime/internal/index.d.ts +8 -8
  104. package/__internal/extensions/index.d.ts +177 -176
  105. package/package.json +1 -1
@@ -177,7 +177,7 @@ export enum WindowsBuiltInRole {
177
177
 
178
178
  export interface IIdentity$instance {
179
179
  readonly name: string;
180
- readonly authenticationType: string;
180
+ readonly authenticationType: string | undefined;
181
181
  readonly isAuthenticated: boolean;
182
182
  }
183
183
 
@@ -185,7 +185,7 @@ export interface IIdentity$instance {
185
185
  export type IIdentity = IIdentity$instance;
186
186
 
187
187
  export interface IPrincipal$instance {
188
- readonly identity: IIdentity;
188
+ readonly identity: IIdentity | undefined;
189
189
  isInRole(role: string): boolean;
190
190
  }
191
191
 
@@ -193,7 +193,7 @@ export interface IPrincipal$instance {
193
193
  export type IPrincipal = IPrincipal$instance;
194
194
 
195
195
  export interface GenericIdentity$instance extends ClaimsIdentity {
196
- readonly authenticationType: string;
196
+ readonly authenticationType: string | string | undefined;
197
197
  readonly claims: IEnumerable_1<Claim>;
198
198
  readonly isAuthenticated: boolean;
199
199
  readonly name: string;
@@ -211,13 +211,11 @@ export interface __GenericIdentity$views {
211
211
  As_IIdentity(): IIdentity$instance;
212
212
  }
213
213
 
214
- export interface GenericIdentity$instance extends IIdentity$instance {}
215
-
216
214
  export type GenericIdentity = GenericIdentity$instance & __GenericIdentity$views;
217
215
 
218
216
 
219
217
  export interface GenericPrincipal$instance extends ClaimsPrincipal {
220
- readonly identity: IIdentity;
218
+ readonly identity: IIdentity | IIdentity | undefined;
221
219
  isInRole(role: string): boolean;
222
220
  }
223
221
 
@@ -318,7 +316,7 @@ export const NTAccount: {
318
316
  export type NTAccount = NTAccount$instance;
319
317
 
320
318
  export interface SecurityIdentifier$instance extends IdentityReference {
321
- readonly accountDomainSid: SecurityIdentifier;
319
+ readonly accountDomainSid: SecurityIdentifier | undefined;
322
320
  readonly binaryLength: int;
323
321
  readonly value: string;
324
322
  compareTo(sid: SecurityIdentifier): int;
@@ -359,7 +357,7 @@ export type SecurityIdentifier = SecurityIdentifier$instance & __SecurityIdentif
359
357
 
360
358
  export interface WindowsIdentity$instance extends ClaimsIdentity {
361
359
  readonly accessToken: SafeAccessTokenHandle;
362
- readonly authenticationType: string;
360
+ readonly authenticationType: string | undefined;
363
361
  readonly claims: IEnumerable_1<Claim>;
364
362
  readonly deviceClaims: IEnumerable_1<Claim>;
365
363
  readonly groups: IdentityReferenceCollection;
@@ -388,7 +386,7 @@ export const WindowsIdentity: {
388
386
  readonly defaultIssuer: string;
389
387
  getAnonymous(): WindowsIdentity;
390
388
  getCurrent(): WindowsIdentity;
391
- getCurrent(ifImpersonating: boolean): WindowsIdentity;
389
+ getCurrent(ifImpersonating: boolean): WindowsIdentity | undefined;
392
390
  getCurrent(desiredAccess: TokenAccessLevels): WindowsIdentity;
393
391
  runImpersonated<T>(safeAccessTokenHandle: SafeAccessTokenHandle, func: Func_1<T>): T;
394
392
  runImpersonated(safeAccessTokenHandle: SafeAccessTokenHandle, action: Action): void;
@@ -411,7 +409,7 @@ export type WindowsIdentity = WindowsIdentity$instance & __WindowsIdentity$views
411
409
 
412
410
  export interface WindowsPrincipal$instance extends ClaimsPrincipal {
413
411
  readonly deviceClaims: IEnumerable_1<Claim>;
414
- readonly identity: IIdentity;
412
+ readonly identity: IIdentity | IIdentity | undefined;
415
413
  readonly userClaims: IEnumerable_1<Claim>;
416
414
  isInRole(sid: SecurityIdentifier): boolean;
417
415
  isInRole(role: WindowsBuiltInRole): boolean;
@@ -269,10 +269,10 @@ export type ASCIIEncoding = ASCIIEncoding$instance & __ASCIIEncoding$views;
269
269
 
270
270
 
271
271
  export interface CodePagesEncodingProvider$instance extends EncodingProvider {
272
- getEncoding(codepage: int): Encoding;
273
- getEncoding(name: string): Encoding;
274
- getEncoding(name: string, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding;
275
- getEncoding(codepage: int, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding;
272
+ getEncoding(codepage: int): Encoding | undefined;
273
+ getEncoding(name: string): Encoding | undefined;
274
+ getEncoding(name: string, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding | undefined;
275
+ getEncoding(codepage: int, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding | undefined;
276
276
  getEncodings(): IEnumerable_1<EncodingInfo>;
277
277
  getEncodings(): IEnumerable_1<EncodingInfo>;
278
278
  }
@@ -301,7 +301,8 @@ export const CompositeFormat: {
301
301
  export type CompositeFormat = CompositeFormat$instance;
302
302
 
303
303
  export interface Decoder$instance {
304
- fallback: DecoderFallback;
304
+ get fallback(): DecoderFallback | undefined;
305
+ set fallback(value: DecoderFallback);
305
306
  readonly fallbackBuffer: DecoderFallbackBuffer;
306
307
  convert(bytes: byte[], byteIndex: int, byteCount: int, chars: char[], charIndex: int, charCount: int, flush: boolean, bytesUsed: int, charsUsed: int, completed: boolean): void;
307
308
  convert(bytes: ptr<byte>, byteCount: int, chars: ptr<char>, charCount: int, flush: boolean, bytesUsed: int, charsUsed: int, completed: boolean): void;
@@ -384,7 +385,7 @@ export const DecoderFallbackBuffer: {
384
385
  export type DecoderFallbackBuffer = DecoderFallbackBuffer$instance;
385
386
 
386
387
  export interface DecoderFallbackException$instance extends ArgumentException {
387
- readonly bytesUnknown: byte[];
388
+ readonly bytesUnknown: byte[] | undefined;
388
389
  readonly index: int;
389
390
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
390
391
  }
@@ -439,7 +440,8 @@ export const DecoderReplacementFallbackBuffer: {
439
440
  export type DecoderReplacementFallbackBuffer = DecoderReplacementFallbackBuffer$instance;
440
441
 
441
442
  export interface Encoder$instance {
442
- fallback: EncoderFallback;
443
+ get fallback(): EncoderFallback | undefined;
444
+ set fallback(value: EncoderFallback);
443
445
  readonly fallbackBuffer: EncoderFallbackBuffer;
444
446
  convert(chars: char[], charIndex: int, charCount: int, bytes: byte[], byteIndex: int, byteCount: int, flush: boolean, charsUsed: int, bytesUsed: int, completed: boolean): void;
445
447
  convert(chars: ptr<char>, charCount: int, bytes: ptr<byte>, byteCount: int, flush: boolean, charsUsed: int, bytesUsed: int, completed: boolean): void;
@@ -685,10 +687,10 @@ export const EncodingInfo: {
685
687
  export type EncodingInfo = EncodingInfo$instance;
686
688
 
687
689
  export interface EncodingProvider$instance {
688
- getEncoding(name: string): Encoding;
689
- getEncoding(codepage: int): Encoding;
690
- getEncoding(name: string, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding;
691
- getEncoding(codepage: int, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding;
690
+ getEncoding(name: string): Encoding | undefined;
691
+ getEncoding(codepage: int): Encoding | undefined;
692
+ getEncoding(name: string, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding | undefined;
693
+ getEncoding(codepage: int, encoderFallback: EncoderFallback, decoderFallback: DecoderFallback): Encoding | undefined;
692
694
  getEncodings(): IEnumerable_1<EncodingInfo>;
693
695
  }
694
696
 
@@ -110,7 +110,7 @@ export interface JsonElement$instance {
110
110
  getRawText(): string;
111
111
  getSByte(): sbyte;
112
112
  getSingle(): float;
113
- getString(): string;
113
+ getString(): string | undefined;
114
114
  getUInt16(): ushort;
115
115
  getUInt32(): uint;
116
116
  getUInt64(): ulong;
@@ -275,7 +275,8 @@ export const JsonReaderState: {
275
275
  export type JsonReaderState = JsonReaderState$instance;
276
276
 
277
277
  export interface JsonWriterOptions$instance {
278
- encoder: JavaScriptEncoder;
278
+ get encoder(): JavaScriptEncoder | undefined;
279
+ set encoder(value: JavaScriptEncoder);
279
280
  indentCharacter: char;
280
281
  indented: boolean;
281
282
  indentSize: int;
@@ -320,7 +321,7 @@ export interface Utf8JsonReader$instance {
320
321
  getInt64(): long;
321
322
  getSByte(): sbyte;
322
323
  getSingle(): float;
323
- getString(): string;
324
+ getString(): string | undefined;
324
325
  getUInt16(): ushort;
325
326
  getUInt32(): uint;
326
327
  getUInt64(): ulong;
@@ -435,8 +436,10 @@ export interface JsonSerializerOptions$instance {
435
436
  readonly converters: IList_1<JsonConverter>;
436
437
  defaultBufferSize: int;
437
438
  defaultIgnoreCondition: JsonIgnoreCondition;
438
- dictionaryKeyPolicy: JsonNamingPolicy;
439
- encoder: JavaScriptEncoder;
439
+ get dictionaryKeyPolicy(): JsonNamingPolicy | undefined;
440
+ set dictionaryKeyPolicy(value: JsonNamingPolicy);
441
+ get encoder(): JavaScriptEncoder | undefined;
442
+ set encoder(value: JavaScriptEncoder);
440
443
  ignoreNullValues: boolean;
441
444
  ignoreReadOnlyFields: boolean;
442
445
  ignoreReadOnlyProperties: boolean;
@@ -449,12 +452,15 @@ export interface JsonSerializerOptions$instance {
449
452
  numberHandling: JsonNumberHandling;
450
453
  preferredObjectCreationHandling: JsonObjectCreationHandling;
451
454
  propertyNameCaseInsensitive: boolean;
452
- propertyNamingPolicy: JsonNamingPolicy;
455
+ get propertyNamingPolicy(): JsonNamingPolicy | undefined;
456
+ set propertyNamingPolicy(value: JsonNamingPolicy);
453
457
  readCommentHandling: JsonCommentHandling;
454
- referenceHandler: ReferenceHandler;
458
+ get referenceHandler(): ReferenceHandler | undefined;
459
+ set referenceHandler(value: ReferenceHandler);
455
460
  respectNullableAnnotations: boolean;
456
461
  respectRequiredConstructorParameters: boolean;
457
- typeInfoResolver: IJsonTypeInfoResolver;
462
+ get typeInfoResolver(): IJsonTypeInfoResolver | undefined;
463
+ set typeInfoResolver(value: IJsonTypeInfoResolver);
458
464
  readonly typeInfoResolverChain: IList_1<IJsonTypeInfoResolver>;
459
465
  unknownTypeHandling: JsonUnknownTypeHandling;
460
466
  unmappedMemberHandling: JsonUnmappedMemberHandling;
@@ -624,46 +630,46 @@ export type Utf8JsonWriter = Utf8JsonWriter$instance & __Utf8JsonWriter$views;
624
630
 
625
631
  export abstract class JsonSerializer$instance {
626
632
  static readonly isReflectionEnabledByDefault: boolean;
627
- static deserialize<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
628
- static deserialize<TValue>(utf8Json: Stream, options?: JsonSerializerOptions): TValue;
629
- static deserialize(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo): unknown;
630
- static deserialize(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions): unknown;
631
- static deserialize(utf8Json: Stream, returnType: Type, context: JsonSerializerContext): unknown;
632
- static deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
633
- static deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, options?: JsonSerializerOptions): TValue;
634
- static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo): unknown;
635
- static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, options?: JsonSerializerOptions): unknown;
636
- static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, context: JsonSerializerContext): unknown;
637
- static deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
638
- static deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, options?: JsonSerializerOptions): TValue;
639
- static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo): unknown;
640
- static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, options?: JsonSerializerOptions): unknown;
641
- static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, context: JsonSerializerContext): unknown;
642
- static deserialize<TValue>(json: string, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
643
- static deserialize<TValue>(json: string, options?: JsonSerializerOptions): TValue;
644
- static deserialize(json: string, jsonTypeInfo: JsonTypeInfo): unknown;
645
- static deserialize(json: string, returnType: Type, options?: JsonSerializerOptions): unknown;
646
- static deserialize(json: string, returnType: Type, context: JsonSerializerContext): unknown;
647
- static deserialize<TValue>(document: JsonDocument, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
648
- static deserialize<TValue>(document: JsonDocument, options?: JsonSerializerOptions): TValue;
649
- static deserialize(document: JsonDocument, jsonTypeInfo: JsonTypeInfo): unknown;
650
- static deserialize(document: JsonDocument, returnType: Type, options?: JsonSerializerOptions): unknown;
651
- static deserialize(document: JsonDocument, returnType: Type, context: JsonSerializerContext): unknown;
652
- static deserialize<TValue>(element: JsonElement, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
653
- static deserialize<TValue>(element: JsonElement, options?: JsonSerializerOptions): TValue;
654
- static deserialize(element: JsonElement, jsonTypeInfo: JsonTypeInfo): unknown;
655
- static deserialize(element: JsonElement, returnType: Type, options?: JsonSerializerOptions): unknown;
656
- static deserialize(element: JsonElement, returnType: Type, context: JsonSerializerContext): unknown;
657
- static deserialize<TValue>(node: JsonNode, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
658
- static deserialize<TValue>(node: JsonNode, options?: JsonSerializerOptions): TValue;
659
- static deserialize(node: JsonNode, jsonTypeInfo: JsonTypeInfo): unknown;
660
- static deserialize(node: JsonNode, returnType: Type, options?: JsonSerializerOptions): unknown;
661
- static deserialize(node: JsonNode, returnType: Type, context: JsonSerializerContext): unknown;
662
- static deserialize<TValue>(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue;
663
- static deserialize<TValue>(reader: Utf8JsonReader, options?: JsonSerializerOptions): TValue;
664
- static deserialize(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo): unknown;
665
- static deserialize(reader: Utf8JsonReader, returnType: Type, options?: JsonSerializerOptions): unknown;
666
- static deserialize(reader: Utf8JsonReader, returnType: Type, context: JsonSerializerContext): unknown;
633
+ static deserialize<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
634
+ static deserialize<TValue>(utf8Json: Stream, options?: JsonSerializerOptions): TValue | undefined;
635
+ static deserialize(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
636
+ static deserialize(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
637
+ static deserialize(utf8Json: Stream, returnType: Type, context: JsonSerializerContext): unknown | undefined;
638
+ static deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
639
+ static deserialize<TValue>(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, options?: JsonSerializerOptions): TValue | undefined;
640
+ static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
641
+ static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
642
+ static deserialize(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, returnType: Type, context: JsonSerializerContext): unknown | undefined;
643
+ static deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
644
+ static deserialize<TValue>(json: ReadOnlySpan_1<System_Internal.Char>, options?: JsonSerializerOptions): TValue | undefined;
645
+ static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
646
+ static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
647
+ static deserialize(json: ReadOnlySpan_1<System_Internal.Char>, returnType: Type, context: JsonSerializerContext): unknown | undefined;
648
+ static deserialize<TValue>(json: string, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
649
+ static deserialize<TValue>(json: string, options?: JsonSerializerOptions): TValue | undefined;
650
+ static deserialize(json: string, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
651
+ static deserialize(json: string, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
652
+ static deserialize(json: string, returnType: Type, context: JsonSerializerContext): unknown | undefined;
653
+ static deserialize<TValue>(document: JsonDocument, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
654
+ static deserialize<TValue>(document: JsonDocument, options?: JsonSerializerOptions): TValue | undefined;
655
+ static deserialize(document: JsonDocument, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
656
+ static deserialize(document: JsonDocument, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
657
+ static deserialize(document: JsonDocument, returnType: Type, context: JsonSerializerContext): unknown | undefined;
658
+ static deserialize<TValue>(element: JsonElement, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
659
+ static deserialize<TValue>(element: JsonElement, options?: JsonSerializerOptions): TValue | undefined;
660
+ static deserialize(element: JsonElement, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
661
+ static deserialize(element: JsonElement, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
662
+ static deserialize(element: JsonElement, returnType: Type, context: JsonSerializerContext): unknown | undefined;
663
+ static deserialize<TValue>(node: JsonNode, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
664
+ static deserialize<TValue>(node: JsonNode, options?: JsonSerializerOptions): TValue | undefined;
665
+ static deserialize(node: JsonNode, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
666
+ static deserialize(node: JsonNode, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
667
+ static deserialize(node: JsonNode, returnType: Type, context: JsonSerializerContext): unknown | undefined;
668
+ static deserialize<TValue>(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo_1<TValue>): TValue | undefined;
669
+ static deserialize<TValue>(reader: Utf8JsonReader, options?: JsonSerializerOptions): TValue | undefined;
670
+ static deserialize(reader: Utf8JsonReader, jsonTypeInfo: JsonTypeInfo): unknown | undefined;
671
+ static deserialize(reader: Utf8JsonReader, returnType: Type, options?: JsonSerializerOptions): unknown | undefined;
672
+ static deserialize(reader: Utf8JsonReader, returnType: Type, context: JsonSerializerContext): unknown | undefined;
667
673
  static deserializeAsync<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
668
674
  static deserializeAsync<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
669
675
  static deserializeAsync(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
@@ -674,14 +680,14 @@ export abstract class JsonSerializer$instance {
674
680
  static deserializeAsync(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
675
681
  static deserializeAsync(utf8Json: Stream, returnType: Type, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
676
682
  static deserializeAsync(utf8Json: Stream, returnType: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
677
- static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
678
- static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
679
- static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
680
- static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
681
- static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
682
- static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
683
- static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
684
- static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue>;
683
+ static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
684
+ static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
685
+ static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
686
+ static deserializeAsyncEnumerable<TValue>(utf8Json: PipeReader, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
687
+ static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, topLevelValues: boolean, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
688
+ static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
689
+ static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, topLevelValues: boolean, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
690
+ static deserializeAsyncEnumerable<TValue>(utf8Json: Stream, options?: JsonSerializerOptions, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TValue | undefined>;
685
691
  static serialize(utf8Json: Stream, value: unknown, jsonTypeInfo: JsonTypeInfo): void;
686
692
  static serialize(utf8Json: Stream, value: unknown, inputType: Type, options?: JsonSerializerOptions): void;
687
693
  static serialize(utf8Json: Stream, value: unknown, inputType: Type, context: JsonSerializerContext): void;
@@ -717,11 +723,11 @@ export abstract class JsonSerializer$instance {
717
723
  static serializeToElement(value: unknown, inputType: Type, context: JsonSerializerContext): JsonElement;
718
724
  static serializeToElement<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonElement;
719
725
  static serializeToElement<TValue>(value: TValue, options?: JsonSerializerOptions): JsonElement;
720
- static serializeToNode(value: unknown, jsonTypeInfo: JsonTypeInfo): JsonNode;
721
- static serializeToNode(value: unknown, inputType: Type, options?: JsonSerializerOptions): JsonNode;
722
- static serializeToNode(value: unknown, inputType: Type, context: JsonSerializerContext): JsonNode;
723
- static serializeToNode<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonNode;
724
- static serializeToNode<TValue>(value: TValue, options?: JsonSerializerOptions): JsonNode;
726
+ static serializeToNode(value: unknown, jsonTypeInfo: JsonTypeInfo): JsonNode | undefined;
727
+ static serializeToNode(value: unknown, inputType: Type, options?: JsonSerializerOptions): JsonNode | undefined;
728
+ static serializeToNode(value: unknown, inputType: Type, context: JsonSerializerContext): JsonNode | undefined;
729
+ static serializeToNode<TValue>(value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>): JsonNode | undefined;
730
+ static serializeToNode<TValue>(value: TValue, options?: JsonSerializerOptions): JsonNode | undefined;
725
731
  static serializeToUtf8Bytes(value: unknown, jsonTypeInfo: JsonTypeInfo): byte[];
726
732
  static serializeToUtf8Bytes(value: unknown, inputType: Type, options?: JsonSerializerOptions): byte[];
727
733
  static serializeToUtf8Bytes(value: unknown, inputType: Type, context: JsonSerializerContext): byte[];
@@ -39,7 +39,7 @@ export interface JsonArray$instance extends JsonNode {
39
39
  add(item: JsonNode): void;
40
40
  clear(): void;
41
41
  contains(item: JsonNode): boolean;
42
- getEnumerator(): IEnumerator_1<JsonNode>;
42
+ getEnumerator(): IEnumerator_1<JsonNode | undefined>;
43
43
  getValues<T>(): IEnumerable_1<T>;
44
44
  indexOf(item: JsonNode): int;
45
45
  insert(index: int, item: JsonNode): void;
@@ -57,7 +57,7 @@ export const JsonArray: {
57
57
  new(options: JsonNodeOptions, items: ReadOnlySpan_1<JsonNode>): JsonArray;
58
58
  new(items: JsonNode[]): JsonArray;
59
59
  new(items: ReadOnlySpan_1<JsonNode>): JsonArray;
60
- create(element: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonArray;
60
+ create(element: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonArray | undefined;
61
61
  };
62
62
 
63
63
 
@@ -87,8 +87,8 @@ export interface JsonNode$instance {
87
87
  getValue<T>(): T;
88
88
  getValueKind(): JsonValueKind;
89
89
  replaceWith<T>(value: T): void;
90
- set_Item(index: int, value: JsonNode): void;
91
- set_Item(propertyName: string, value: JsonNode): void;
90
+ set_Item(index: int, value: JsonNode | undefined): void;
91
+ set_Item(propertyName: string, value: JsonNode | undefined): void;
92
92
  toJsonString(options?: JsonSerializerOptions): string;
93
93
  toString(): string;
94
94
  writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions): void;
@@ -97,11 +97,11 @@ export interface JsonNode$instance {
97
97
 
98
98
  export const JsonNode: {
99
99
  deepEquals(node1: JsonNode, node2: JsonNode): boolean;
100
- parse(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode;
101
- parse(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode;
102
- parse(json: string, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode;
103
- parse(reader: Utf8JsonReader, nodeOptions?: Nullable_1<JsonNodeOptions>): JsonNode;
104
- parseAsync(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions, cancellationToken?: CancellationToken): Task_1<JsonNode>;
100
+ parse(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode | undefined;
101
+ parse(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode | undefined;
102
+ parse(json: string, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode | undefined;
103
+ parse(reader: Utf8JsonReader, nodeOptions?: Nullable_1<JsonNodeOptions>): JsonNode | undefined;
104
+ parseAsync(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions, cancellationToken?: CancellationToken): Task_1<JsonNode | undefined>;
105
105
  };
106
106
 
107
107
 
@@ -132,7 +132,7 @@ export interface JsonObject$instance extends JsonNode {
132
132
  export const JsonObject: {
133
133
  new(options: Nullable_1<JsonNodeOptions>): JsonObject;
134
134
  new(properties: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsonNode>>, options: Nullable_1<JsonNodeOptions>): JsonObject;
135
- create(element: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonObject;
135
+ create(element: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonObject | undefined;
136
136
  };
137
137
 
138
138
 
@@ -164,32 +164,32 @@ export const JsonValue: {
164
164
  create(value: short, options?: Nullable_1<JsonNodeOptions>): JsonValue;
165
165
  create(value: int, options?: Nullable_1<JsonNodeOptions>): JsonValue;
166
166
  create(value: long, options?: Nullable_1<JsonNodeOptions>): JsonValue;
167
- create(value: Nullable_1<System_Internal.Boolean>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
168
- create(value: Nullable_1<System_Internal.Byte>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
169
- create(value: Nullable_1<System_Internal.Char>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
170
- create(value: Nullable_1<DateTime>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
171
- create(value: Nullable_1<DateTimeOffset>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
172
- create(value: Nullable_1<System_Internal.Decimal>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
173
- create(value: Nullable_1<System_Internal.Double>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
174
- create(value: Nullable_1<Guid>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
175
- create(value: Nullable_1<System_Internal.Int16>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
176
- create(value: Nullable_1<System_Internal.Int32>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
177
- create(value: Nullable_1<System_Internal.Int64>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
178
- create(value: Nullable_1<System_Internal.SByte>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
179
- create(value: Nullable_1<System_Internal.Single>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
180
- create(value: Nullable_1<JsonElement>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
181
- create(value: Nullable_1<System_Internal.UInt16>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
182
- create(value: Nullable_1<System_Internal.UInt32>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
183
- create(value: Nullable_1<System_Internal.UInt64>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
167
+ create(value: Nullable_1<System_Internal.Boolean>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
168
+ create(value: Nullable_1<System_Internal.Byte>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
169
+ create(value: Nullable_1<System_Internal.Char>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
170
+ create(value: Nullable_1<DateTime>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
171
+ create(value: Nullable_1<DateTimeOffset>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
172
+ create(value: Nullable_1<System_Internal.Decimal>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
173
+ create(value: Nullable_1<System_Internal.Double>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
174
+ create(value: Nullable_1<Guid>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
175
+ create(value: Nullable_1<System_Internal.Int16>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
176
+ create(value: Nullable_1<System_Internal.Int32>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
177
+ create(value: Nullable_1<System_Internal.Int64>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
178
+ create(value: Nullable_1<System_Internal.SByte>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
179
+ create(value: Nullable_1<System_Internal.Single>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
180
+ create(value: Nullable_1<JsonElement>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
181
+ create(value: Nullable_1<System_Internal.UInt16>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
182
+ create(value: Nullable_1<System_Internal.UInt32>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
183
+ create(value: Nullable_1<System_Internal.UInt64>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
184
184
  create(value: sbyte, options?: Nullable_1<JsonNodeOptions>): JsonValue;
185
185
  create(value: float, options?: Nullable_1<JsonNodeOptions>): JsonValue;
186
- create(value: string, options?: Nullable_1<JsonNodeOptions>): JsonValue;
187
- create(value: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonValue;
186
+ create(value: string, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
187
+ create(value: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
188
188
  create(value: ushort, options?: Nullable_1<JsonNodeOptions>): JsonValue;
189
189
  create(value: uint, options?: Nullable_1<JsonNodeOptions>): JsonValue;
190
190
  create(value: ulong, options?: Nullable_1<JsonNodeOptions>): JsonValue;
191
- create<T>(value: T, jsonTypeInfo: JsonTypeInfo_1<T>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
192
- create<T>(value: T, options?: Nullable_1<JsonNodeOptions>): JsonValue;
191
+ create<T>(value: T, jsonTypeInfo: JsonTypeInfo_1<T>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
192
+ create<T>(value: T, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
193
193
  };
194
194
 
195
195
 
@@ -13,9 +13,9 @@ import * as System_Internal from "../../System/internal/index.js";
13
13
  import type { Boolean as ClrBoolean, Func_3, Int32, Object as ClrObject, ReadOnlySpan_1, String as ClrString, Type, ValueType } from "../../System/internal/index.js";
14
14
 
15
15
  export interface JsonSchemaExporterContext$instance {
16
- readonly baseTypeInfo: JsonTypeInfo;
16
+ readonly baseTypeInfo: JsonTypeInfo | undefined;
17
17
  readonly path: ReadOnlySpan_1<System_Internal.String>;
18
- readonly propertyInfo: JsonPropertyInfo;
18
+ readonly propertyInfo: JsonPropertyInfo | undefined;
19
19
  readonly typeInfo: JsonTypeInfo;
20
20
  }
21
21
 
@@ -28,7 +28,8 @@ export const JsonSchemaExporterContext: {
28
28
  export type JsonSchemaExporterContext = JsonSchemaExporterContext$instance;
29
29
 
30
30
  export interface JsonSchemaExporterOptions$instance {
31
- transformSchemaNode: Func_3<JsonSchemaExporterContext, JsonNode, JsonNode>;
31
+ get transformSchemaNode(): Func_3<JsonSchemaExporterContext, JsonNode, JsonNode> | undefined;
32
+ set transformSchemaNode(value: Func_3<JsonSchemaExporterContext, JsonNode, JsonNode>);
32
33
  treatNullObliviousAsNonNullable: boolean;
33
34
  }
34
35
 
@@ -147,7 +147,7 @@ export interface JsonConverter_1$instance<T> extends JsonConverter {
147
147
  readonly handleNull: boolean;
148
148
  readonly type_: Type;
149
149
  canConvert(typeToConvert: Type): boolean;
150
- read(reader: Utf8JsonReader, typeToConvert: Type, options: JsonSerializerOptions): T;
150
+ read(reader: Utf8JsonReader, typeToConvert: Type, options: JsonSerializerOptions): T | undefined;
151
151
  readAsPropertyName(reader: Utf8JsonReader, typeToConvert: Type, options: JsonSerializerOptions): T;
152
152
  write(writer: Utf8JsonWriter, value: T, options: JsonSerializerOptions): void;
153
153
  writeAsPropertyName(writer: Utf8JsonWriter, value: T, options: JsonSerializerOptions): void;
@@ -161,8 +161,8 @@ export const JsonConverter_1: {
161
161
  export type JsonConverter_1<T> = JsonConverter_1$instance<T>;
162
162
 
163
163
  export interface JsonConverterAttribute$instance extends JsonAttribute {
164
- readonly converterType: Type;
165
- createConverter(typeToConvert: Type): JsonConverter;
164
+ readonly converterType: Type | undefined;
165
+ createConverter(typeToConvert: Type): JsonConverter | undefined;
166
166
  }
167
167
 
168
168
 
@@ -175,7 +175,7 @@ export type JsonConverterAttribute = JsonConverterAttribute$instance;
175
175
 
176
176
  export interface JsonConverterFactory$instance extends JsonConverter {
177
177
  readonly type_: Type;
178
- createConverter(typeToConvert: Type, options: JsonSerializerOptions): JsonConverter;
178
+ createConverter(typeToConvert: Type, options: JsonSerializerOptions): JsonConverter | undefined;
179
179
  }
180
180
 
181
181
 
@@ -187,7 +187,7 @@ export type JsonConverterFactory = JsonConverterFactory$instance;
187
187
 
188
188
  export interface JsonDerivedTypeAttribute$instance extends JsonAttribute {
189
189
  readonly derivedType: Type;
190
- readonly typeDiscriminator: unknown;
190
+ readonly typeDiscriminator: unknown | undefined;
191
191
  }
192
192
 
193
193
 
@@ -236,7 +236,7 @@ export type JsonIncludeAttribute = JsonIncludeAttribute$instance;
236
236
 
237
237
  export interface JsonNumberEnumConverter_1$instance<TEnum extends number> extends JsonConverterFactory {
238
238
  canConvert(typeToConvert: Type): boolean;
239
- createConverter(typeToConvert: Type, options: JsonSerializerOptions): JsonConverter;
239
+ createConverter(typeToConvert: Type, options: JsonSerializerOptions): JsonConverter | undefined;
240
240
  }
241
241
 
242
242
 
@@ -322,7 +322,8 @@ export type JsonRequiredAttribute = JsonRequiredAttribute$instance;
322
322
 
323
323
  export interface JsonSerializableAttribute$instance extends JsonAttribute {
324
324
  generationMode: JsonSourceGenerationMode;
325
- typeInfoPropertyName: string;
325
+ get typeInfoPropertyName(): string | undefined;
326
+ set typeInfoPropertyName(value: string);
326
327
  }
327
328
 
328
329
 
@@ -405,7 +406,7 @@ export type JsonStringEnumConverter = JsonStringEnumConverter$instance;
405
406
 
406
407
  export interface JsonStringEnumConverter_1$instance<TEnum extends number> extends JsonConverterFactory {
407
408
  canConvert(typeToConvert: Type): boolean;
408
- createConverter(typeToConvert: Type, options: JsonSerializerOptions): JsonConverter;
409
+ createConverter(typeToConvert: Type, options: JsonSerializerOptions): JsonConverter | undefined;
409
410
  }
410
411
 
411
412