@tsonic/dotnet 10.0.41 → 10.0.42
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.
- package/Internal/bindings.json +5 -5
- package/Internal/internal/index.d.ts +1 -1
- package/Internal.d.ts +4 -0
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +1 -1
- package/Microsoft.CSharp.RuntimeBinder.d.ts +4 -0
- package/Microsoft.VisualBasic/bindings.json +13 -13
- package/Microsoft.VisualBasic/internal/index.d.ts +51 -51
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +116 -116
- package/Microsoft.VisualBasic.CompilerServices.d.ts +4 -0
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
- package/Microsoft.VisualBasic.FileIO.d.ts +4 -0
- package/Microsoft.VisualBasic.d.ts +4 -0
- package/Microsoft.Win32/internal/index.d.ts +9 -9
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +1 -1
- package/Microsoft.Win32.SafeHandles.d.ts +4 -0
- package/Microsoft.Win32.d.ts +4 -0
- package/README.md +8 -1
- package/System/bindings.json +204 -124
- package/System/internal/index.d.ts +1041 -1026
- package/System.Buffers/internal/index.d.ts +51 -51
- package/System.Buffers.Binary/internal/index.d.ts +1 -1
- package/System.Buffers.Binary.d.ts +4 -0
- package/System.Buffers.Text/internal/index.d.ts +1 -1
- package/System.Buffers.Text.d.ts +4 -0
- package/System.Buffers.d.ts +10 -6
- package/System.CodeDom.Compiler/internal/index.d.ts +14 -14
- package/System.CodeDom.Compiler.d.ts +4 -0
- package/System.Collections/bindings.json +300 -300
- package/System.Collections/internal/index.d.ts +113 -113
- package/System.Collections.Concurrent/bindings.json +93 -93
- package/System.Collections.Concurrent/internal/index.d.ts +65 -65
- package/System.Collections.Concurrent.d.ts +7 -3
- package/System.Collections.Frozen/bindings.json +90 -50
- package/System.Collections.Frozen/internal/index.d.ts +35 -33
- package/System.Collections.Frozen.d.ts +6 -2
- package/System.Collections.Generic/bindings.json +932 -612
- package/System.Collections.Generic/internal/index.d.ts +303 -287
- package/System.Collections.Generic.d.ts +19 -15
- package/System.Collections.Immutable/bindings.json +189 -189
- package/System.Collections.Immutable/internal/index.d.ts +235 -234
- package/System.Collections.Immutable.d.ts +21 -17
- package/System.Collections.ObjectModel/bindings.json +229 -229
- package/System.Collections.ObjectModel/internal/index.d.ts +41 -41
- package/System.Collections.ObjectModel.d.ts +6 -2
- package/System.Collections.Specialized/bindings.json +79 -79
- package/System.Collections.Specialized/internal/index.d.ts +46 -46
- package/System.Collections.Specialized.d.ts +4 -0
- package/System.Collections.d.ts +4 -0
- package/System.ComponentModel/bindings.json +108 -108
- package/System.ComponentModel/internal/index.d.ts +368 -363
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +78 -78
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +1 -1
- package/System.ComponentModel.DataAnnotations.Schema.d.ts +4 -0
- package/System.ComponentModel.DataAnnotations.d.ts +4 -0
- package/System.ComponentModel.Design/bindings.json +18 -18
- package/System.ComponentModel.Design/internal/index.d.ts +47 -47
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +38 -38
- package/System.ComponentModel.Design.Serialization.d.ts +4 -0
- package/System.ComponentModel.Design.d.ts +4 -0
- package/System.ComponentModel.d.ts +4 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +1 -1
- package/System.Configuration.Assemblies.d.ts +4 -0
- package/System.Data/bindings.json +124 -124
- package/System.Data/internal/index.d.ts +156 -156
- package/System.Data.Common/bindings.json +68 -68
- package/System.Data.Common/internal/index.d.ts +42 -42
- package/System.Data.Common.d.ts +4 -0
- package/System.Data.SqlTypes/internal/index.d.ts +40 -40
- package/System.Data.SqlTypes.d.ts +4 -0
- package/System.Data.d.ts +8 -4
- package/System.Diagnostics/bindings.json +251 -231
- package/System.Diagnostics/internal/index.d.ts +167 -154
- package/System.Diagnostics.CodeAnalysis/bindings.json +121 -121
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +7 -7
- package/System.Diagnostics.CodeAnalysis.d.ts +4 -0
- package/System.Diagnostics.Contracts/bindings.json +62 -62
- package/System.Diagnostics.Contracts/internal/index.d.ts +9 -9
- package/System.Diagnostics.Contracts.d.ts +4 -0
- package/System.Diagnostics.Metrics/internal/index.d.ts +86 -86
- package/System.Diagnostics.Metrics.d.ts +7 -3
- package/System.Diagnostics.SymbolStore/bindings.json +2 -2
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +3 -3
- package/System.Diagnostics.SymbolStore.d.ts +4 -0
- package/System.Diagnostics.Tracing/bindings.json +212 -212
- package/System.Diagnostics.Tracing/internal/index.d.ts +7 -7
- package/System.Diagnostics.Tracing.d.ts +4 -0
- package/System.Diagnostics.d.ts +5 -1
- package/System.Drawing/internal/index.d.ts +48 -48
- package/System.Drawing.d.ts +4 -0
- package/System.Dynamic/bindings.json +13 -13
- package/System.Dynamic/internal/index.d.ts +36 -35
- package/System.Dynamic.d.ts +4 -0
- package/System.Formats.Asn1/internal/index.d.ts +11 -11
- package/System.Formats.Asn1.d.ts +4 -0
- package/System.Formats.Tar/internal/index.d.ts +1 -1
- package/System.Formats.Tar.d.ts +4 -0
- package/System.Globalization/bindings.json +3 -3
- package/System.Globalization/internal/index.d.ts +19 -19
- package/System.Globalization.d.ts +4 -0
- package/System.IO/bindings.json +957 -957
- package/System.IO/internal/index.d.ts +55 -55
- package/System.IO.Compression/internal/index.d.ts +13 -13
- package/System.IO.Compression.d.ts +4 -0
- package/System.IO.Enumeration/bindings.json +47 -47
- package/System.IO.Enumeration/internal/index.d.ts +11 -11
- package/System.IO.Enumeration.d.ts +4 -0
- package/System.IO.IsolatedStorage/internal/index.d.ts +10 -10
- package/System.IO.IsolatedStorage.d.ts +4 -0
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +1 -1
- package/System.IO.MemoryMappedFiles.d.ts +4 -0
- package/System.IO.Pipelines/internal/index.d.ts +4 -4
- package/System.IO.Pipelines.d.ts +4 -0
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.IO.Pipes.d.ts +4 -0
- package/System.IO.d.ts +4 -0
- package/System.Linq/bindings.json +22 -22
- package/System.Linq/internal/index.d.ts +703 -701
- package/System.Linq.Expressions/internal/index.d.ts +67 -41
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
- package/System.Linq.Expressions.Interpreter.d.ts +4 -0
- package/System.Linq.Expressions.d.ts +6 -2
- package/System.Linq.d.ts +18 -14
- package/System.Net/bindings.json +27 -27
- package/System.Net/internal/index.d.ts +53 -53
- package/System.Net.Cache/internal/index.d.ts +1 -1
- package/System.Net.Cache.d.ts +4 -0
- package/System.Net.Http/bindings.json +22 -22
- package/System.Net.Http/internal/index.d.ts +16 -16
- package/System.Net.Http.Headers/bindings.json +66 -26
- package/System.Net.Http.Headers/internal/index.d.ts +26 -24
- package/System.Net.Http.Headers.d.ts +4 -0
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Json.d.ts +4 -0
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Http.Metrics.d.ts +4 -0
- package/System.Net.Http.d.ts +5 -1
- package/System.Net.Mail/bindings.json +96 -96
- package/System.Net.Mail/internal/index.d.ts +8 -8
- package/System.Net.Mail.d.ts +4 -0
- package/System.Net.Mime/internal/index.d.ts +3 -3
- package/System.Net.Mime.d.ts +4 -0
- package/System.Net.NetworkInformation/bindings.json +40 -40
- package/System.Net.NetworkInformation/internal/index.d.ts +15 -15
- package/System.Net.NetworkInformation.d.ts +4 -0
- package/System.Net.Quic/internal/index.d.ts +4 -4
- package/System.Net.Quic.d.ts +4 -0
- package/System.Net.Security/internal/index.d.ts +29 -29
- package/System.Net.Security.d.ts +4 -0
- package/System.Net.ServerSentEvents/internal/index.d.ts +9 -9
- package/System.Net.ServerSentEvents.d.ts +7 -3
- package/System.Net.Sockets/internal/index.d.ts +42 -42
- package/System.Net.Sockets.d.ts +4 -0
- package/System.Net.WebSockets/bindings.json +101 -101
- package/System.Net.WebSockets/internal/index.d.ts +5 -5
- package/System.Net.WebSockets.d.ts +4 -0
- package/System.Net.d.ts +4 -0
- package/System.Numerics/bindings.json +3 -3
- package/System.Numerics/internal/index.d.ts +218 -218
- package/System.Numerics.d.ts +38 -34
- package/System.Reflection/bindings.json +870 -870
- package/System.Reflection/internal/index.d.ts +107 -107
- package/System.Reflection.Emit/bindings.json +754 -754
- package/System.Reflection.Emit/internal/index.d.ts +27 -25
- package/System.Reflection.Emit.d.ts +4 -0
- package/System.Reflection.Metadata/bindings.json +607 -87
- package/System.Reflection.Metadata/internal/index.d.ts +144 -118
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +9 -9
- package/System.Reflection.Metadata.Ecma335.d.ts +4 -0
- package/System.Reflection.Metadata.d.ts +9 -5
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Reflection.PortableExecutable.d.ts +4 -0
- package/System.Reflection.d.ts +4 -0
- package/System.Resources/bindings.json +3 -3
- package/System.Resources/internal/index.d.ts +7 -7
- package/System.Resources.d.ts +4 -0
- package/System.Runtime/bindings.json +9 -9
- package/System.Runtime/internal/index.d.ts +7 -7
- package/System.Runtime.CompilerServices/bindings.json +383 -383
- package/System.Runtime.CompilerServices/internal/index.d.ts +226 -226
- package/System.Runtime.CompilerServices.d.ts +20 -16
- package/System.Runtime.ConstrainedExecution/bindings.json +9 -9
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +1 -1
- package/System.Runtime.ConstrainedExecution.d.ts +4 -0
- package/System.Runtime.ExceptionServices/bindings.json +9 -9
- package/System.Runtime.ExceptionServices/internal/index.d.ts +2 -2
- package/System.Runtime.ExceptionServices.d.ts +4 -0
- package/System.Runtime.InteropServices/bindings.json +559 -559
- package/System.Runtime.InteropServices/internal/index.d.ts +182 -182
- package/System.Runtime.InteropServices.ComTypes/bindings.json +349 -349
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +19 -19
- package/System.Runtime.InteropServices.ComTypes.d.ts +4 -0
- package/System.Runtime.InteropServices.Java/bindings.json +12 -12
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +2 -2
- package/System.Runtime.InteropServices.Java.d.ts +4 -0
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +38 -38
- package/System.Runtime.InteropServices.JavaScript.d.ts +6 -2
- package/System.Runtime.InteropServices.Marshalling/bindings.json +117 -117
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +81 -81
- package/System.Runtime.InteropServices.Marshalling.d.ts +4 -0
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +15 -15
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +2 -2
- package/System.Runtime.InteropServices.ObjectiveC.d.ts +4 -0
- package/System.Runtime.InteropServices.Swift/bindings.json +4 -4
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
- package/System.Runtime.InteropServices.Swift.d.ts +6 -2
- package/System.Runtime.InteropServices.d.ts +6 -2
- package/System.Runtime.Intrinsics/internal/index.d.ts +514 -514
- package/System.Runtime.Intrinsics.Arm/bindings.json +31 -31
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics.Arm.d.ts +4 -0
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics.Wasm.d.ts +4 -0
- package/System.Runtime.Intrinsics.X86/bindings.json +38 -38
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics.X86.d.ts +4 -0
- package/System.Runtime.Intrinsics.d.ts +12 -8
- package/System.Runtime.Loader/internal/index.d.ts +1 -1
- package/System.Runtime.Loader.d.ts +4 -0
- package/System.Runtime.Remoting/internal/index.d.ts +3 -3
- package/System.Runtime.Remoting.d.ts +4 -0
- package/System.Runtime.Serialization/bindings.json +13 -13
- package/System.Runtime.Serialization/internal/index.d.ts +102 -102
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +4 -4
- package/System.Runtime.Serialization.DataContracts.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -3
- package/System.Runtime.Serialization.Formatters.Binary.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters.d.ts +4 -0
- package/System.Runtime.Serialization.Json/internal/index.d.ts +13 -13
- package/System.Runtime.Serialization.Json.d.ts +4 -0
- package/System.Runtime.Serialization.d.ts +4 -0
- package/System.Runtime.Versioning/bindings.json +13 -13
- package/System.Runtime.Versioning/internal/index.d.ts +2 -2
- package/System.Runtime.Versioning.d.ts +4 -0
- package/System.Runtime.d.ts +4 -0
- package/System.Security/bindings.json +5 -5
- package/System.Security/internal/index.d.ts +10 -10
- package/System.Security.AccessControl/bindings.json +33 -33
- package/System.Security.AccessControl/internal/index.d.ts +21 -21
- package/System.Security.AccessControl.d.ts +10 -6
- package/System.Security.Authentication/internal/index.d.ts +1 -1
- package/System.Security.Authentication.ExtendedProtection/bindings.json +5 -5
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -3
- package/System.Security.Authentication.ExtendedProtection.d.ts +4 -0
- package/System.Security.Authentication.d.ts +4 -0
- package/System.Security.Claims/internal/index.d.ts +3 -3
- package/System.Security.Claims.d.ts +4 -0
- package/System.Security.Cryptography/bindings.json +40 -40
- package/System.Security.Cryptography/internal/index.d.ts +28 -27
- package/System.Security.Cryptography.X509Certificates/bindings.json +312 -312
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +10 -10
- package/System.Security.Cryptography.X509Certificates.d.ts +4 -0
- package/System.Security.Cryptography.d.ts +4 -0
- package/System.Security.Permissions/internal/index.d.ts +1 -1
- package/System.Security.Permissions.d.ts +4 -0
- package/System.Security.Policy/bindings.json +5 -5
- package/System.Security.Policy/internal/index.d.ts +9 -9
- package/System.Security.Policy.d.ts +4 -0
- package/System.Security.Principal/bindings.json +8 -8
- package/System.Security.Principal/internal/index.d.ts +8 -8
- package/System.Security.Principal.d.ts +4 -0
- package/System.Security.d.ts +4 -0
- package/System.Text/bindings.json +20 -20
- package/System.Text/internal/index.d.ts +48 -48
- package/System.Text.Encodings.Web/internal/index.d.ts +1 -1
- package/System.Text.Encodings.Web.d.ts +4 -0
- package/System.Text.Json/internal/index.d.ts +109 -109
- package/System.Text.Json.Nodes/bindings.json +27 -27
- package/System.Text.Json.Nodes/internal/index.d.ts +8 -8
- package/System.Text.Json.Nodes.d.ts +4 -0
- package/System.Text.Json.Schema/internal/index.d.ts +1 -1
- package/System.Text.Json.Schema.d.ts +4 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +18 -18
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -67
- package/System.Text.Json.Serialization.Metadata.d.ts +6 -2
- package/System.Text.Json.Serialization.d.ts +10 -6
- package/System.Text.Json.d.ts +4 -0
- package/System.Text.RegularExpressions/bindings.json +158 -118
- package/System.Text.RegularExpressions/internal/index.d.ts +9 -7
- package/System.Text.RegularExpressions.d.ts +4 -0
- package/System.Text.Unicode/internal/index.d.ts +6 -6
- package/System.Text.Unicode.d.ts +4 -0
- package/System.Text.d.ts +4 -0
- package/System.Threading/bindings.json +19 -19
- package/System.Threading/internal/index.d.ts +97 -97
- package/System.Threading.Channels/internal/index.d.ts +23 -23
- package/System.Threading.Channels.d.ts +8 -4
- package/System.Threading.Tasks/bindings.json +138 -38
- package/System.Threading.Tasks/internal/index.d.ts +229 -227
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +95 -95
- package/System.Threading.Tasks.Dataflow.d.ts +18 -14
- package/System.Threading.Tasks.Sources/bindings.json +9 -9
- package/System.Threading.Tasks.Sources/internal/index.d.ts +9 -9
- package/System.Threading.Tasks.Sources.d.ts +6 -2
- package/System.Threading.Tasks.d.ts +12 -8
- package/System.Threading.d.ts +4 -0
- package/System.Timers/internal/index.d.ts +2 -2
- package/System.Timers.d.ts +4 -0
- package/System.Transactions/internal/index.d.ts +6 -6
- package/System.Transactions.d.ts +4 -0
- package/System.Web/internal/index.d.ts +2 -2
- package/System.Web.d.ts +4 -0
- package/System.Windows.Input/internal/index.d.ts +3 -3
- package/System.Windows.Input.d.ts +4 -0
- package/System.Windows.Markup/internal/index.d.ts +1 -1
- package/System.Windows.Markup.d.ts +4 -0
- package/System.Xml/bindings.json +27 -27
- package/System.Xml/internal/index.d.ts +29 -29
- package/System.Xml.Linq/bindings.json +6 -6
- package/System.Xml.Linq/internal/index.d.ts +49 -49
- package/System.Xml.Linq.d.ts +4 -0
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Resolvers.d.ts +4 -0
- package/System.Xml.Schema/bindings.json +24 -24
- package/System.Xml.Schema/internal/index.d.ts +24 -24
- package/System.Xml.Schema.d.ts +4 -0
- package/System.Xml.Serialization/bindings.json +57 -57
- package/System.Xml.Serialization/internal/index.d.ts +49 -49
- package/System.Xml.Serialization.d.ts +4 -0
- package/System.Xml.XPath/bindings.json +1 -1
- package/System.Xml.XPath/internal/index.d.ts +18 -18
- package/System.Xml.XPath.d.ts +4 -0
- package/System.Xml.Xsl/bindings.json +1 -1
- package/System.Xml.Xsl/internal/index.d.ts +12 -12
- package/System.Xml.Xsl.Runtime/bindings.json +70 -70
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +21 -21
- package/System.Xml.Xsl.Runtime.d.ts +4 -0
- package/System.Xml.Xsl.d.ts +4 -0
- package/System.Xml.d.ts +4 -0
- package/System.d.ts +126 -122
- package/__internal/extensions/index.d.ts +1288 -1293
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: System.Text.Json
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
// Import types from other namespaces
|
|
@@ -38,7 +38,7 @@ export interface JsonDerivedType$instance {
|
|
|
38
38
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonDerivedType: never;
|
|
39
39
|
|
|
40
40
|
readonly DerivedType: Type;
|
|
41
|
-
readonly TypeDiscriminator:
|
|
41
|
+
readonly TypeDiscriminator: unknown | null;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
|
|
@@ -73,7 +73,7 @@ export interface __DefaultJsonTypeInfoResolver$views {
|
|
|
73
73
|
export type DefaultJsonTypeInfoResolver = DefaultJsonTypeInfoResolver$instance & __DefaultJsonTypeInfoResolver$views;
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
export interface JsonCollectionInfoValues_1$instance<TCollection> {
|
|
76
|
+
export interface JsonCollectionInfoValues_1$instance<TCollection extends unknown> {
|
|
77
77
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonCollectionInfoValues_1: never;
|
|
78
78
|
|
|
79
79
|
ElementInfo: JsonTypeInfo;
|
|
@@ -88,13 +88,13 @@ export interface JsonCollectionInfoValues_1$instance<TCollection> {
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
export const JsonCollectionInfoValues_1: {
|
|
91
|
-
new<TCollection>(): JsonCollectionInfoValues_1<TCollection>;
|
|
91
|
+
new<TCollection extends unknown>(): JsonCollectionInfoValues_1<TCollection>;
|
|
92
92
|
};
|
|
93
93
|
|
|
94
94
|
|
|
95
|
-
export type JsonCollectionInfoValues_1<TCollection> = JsonCollectionInfoValues_1$instance<TCollection>;
|
|
95
|
+
export type JsonCollectionInfoValues_1<TCollection extends unknown> = JsonCollectionInfoValues_1$instance<TCollection>;
|
|
96
96
|
|
|
97
|
-
export interface JsonObjectInfoValues_1$instance<T> {
|
|
97
|
+
export interface JsonObjectInfoValues_1$instance<T extends unknown> {
|
|
98
98
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonObjectInfoValues_1: never;
|
|
99
99
|
|
|
100
100
|
get ConstructorAttributeProviderFactory(): Func_1<ICustomAttributeProvider> | null;
|
|
@@ -104,8 +104,8 @@ export interface JsonObjectInfoValues_1$instance<T> {
|
|
|
104
104
|
NumberHandling: JsonNumberHandling;
|
|
105
105
|
get ObjectCreator(): Func_1<T> | null;
|
|
106
106
|
set ObjectCreator(value: Func_1<T> | null);
|
|
107
|
-
get ObjectWithParameterizedConstructorCreator(): Func_2<
|
|
108
|
-
set ObjectWithParameterizedConstructorCreator(value: Func_2<
|
|
107
|
+
get ObjectWithParameterizedConstructorCreator(): Func_2<unknown[], T> | null;
|
|
108
|
+
set ObjectWithParameterizedConstructorCreator(value: Func_2<unknown[], T> | null);
|
|
109
109
|
get PropertyMetadataInitializer(): Func_2<JsonSerializerContext, JsonPropertyInfo[]> | null;
|
|
110
110
|
set PropertyMetadataInitializer(value: Func_2<JsonSerializerContext, JsonPropertyInfo[]> | null);
|
|
111
111
|
get SerializeHandler(): Action_2<Utf8JsonWriter, T> | null;
|
|
@@ -114,18 +114,18 @@ export interface JsonObjectInfoValues_1$instance<T> {
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
export const JsonObjectInfoValues_1: {
|
|
117
|
-
new<T>(): JsonObjectInfoValues_1<T>;
|
|
117
|
+
new<T extends unknown>(): JsonObjectInfoValues_1<T>;
|
|
118
118
|
};
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
export type JsonObjectInfoValues_1<T> = JsonObjectInfoValues_1$instance<T>;
|
|
121
|
+
export type JsonObjectInfoValues_1<T extends unknown> = JsonObjectInfoValues_1$instance<T>;
|
|
122
122
|
|
|
123
123
|
export interface JsonParameterInfo$instance {
|
|
124
124
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonParameterInfo: never;
|
|
125
125
|
|
|
126
126
|
readonly AttributeProvider: ICustomAttributeProvider | null;
|
|
127
127
|
readonly DeclaringType: Type;
|
|
128
|
-
readonly DefaultValue:
|
|
128
|
+
readonly DefaultValue: unknown | null;
|
|
129
129
|
readonly HasDefaultValue: boolean;
|
|
130
130
|
readonly IsMemberInitializer: boolean;
|
|
131
131
|
readonly IsNullable: boolean;
|
|
@@ -144,8 +144,8 @@ export type JsonParameterInfo = JsonParameterInfo$instance;
|
|
|
144
144
|
export interface JsonParameterInfoValues$instance {
|
|
145
145
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonParameterInfoValues: never;
|
|
146
146
|
|
|
147
|
-
get DefaultValue():
|
|
148
|
-
set DefaultValue(value:
|
|
147
|
+
get DefaultValue(): unknown | null;
|
|
148
|
+
set DefaultValue(value: unknown | null);
|
|
149
149
|
HasDefaultValue: boolean;
|
|
150
150
|
IsMemberInitializer: boolean;
|
|
151
151
|
IsNullable: boolean;
|
|
@@ -189,8 +189,8 @@ export interface JsonPropertyInfo$instance {
|
|
|
189
189
|
get CustomConverter(): JsonConverter | null;
|
|
190
190
|
set CustomConverter(value: JsonConverter | null);
|
|
191
191
|
readonly DeclaringType: Type;
|
|
192
|
-
get Get(): Func_2<
|
|
193
|
-
set Get(value: Func_2<
|
|
192
|
+
get Get(): Func_2<unknown, unknown | null> | null;
|
|
193
|
+
set Get(value: Func_2<unknown, unknown | null> | null);
|
|
194
194
|
IsExtensionData: boolean;
|
|
195
195
|
IsGetNullable: boolean;
|
|
196
196
|
IsRequired: boolean;
|
|
@@ -203,10 +203,10 @@ export interface JsonPropertyInfo$instance {
|
|
|
203
203
|
readonly Options: JsonSerializerOptions;
|
|
204
204
|
Order: int;
|
|
205
205
|
readonly PropertyType: Type;
|
|
206
|
-
get Set(): Action_2<
|
|
207
|
-
set Set(value: Action_2<
|
|
208
|
-
get ShouldSerialize(): Func_3<
|
|
209
|
-
set ShouldSerialize(value: Func_3<
|
|
206
|
+
get Set(): Action_2<unknown, unknown | null> | null;
|
|
207
|
+
set Set(value: Action_2<unknown, unknown | null> | null);
|
|
208
|
+
get ShouldSerialize(): Func_3<unknown, unknown | null, System_Internal.Boolean> | null;
|
|
209
|
+
set ShouldSerialize(value: Func_3<unknown, unknown | null, System_Internal.Boolean> | null);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
|
|
@@ -216,7 +216,7 @@ export const JsonPropertyInfo: {
|
|
|
216
216
|
|
|
217
217
|
export type JsonPropertyInfo = JsonPropertyInfo$instance;
|
|
218
218
|
|
|
219
|
-
export interface JsonPropertyInfoValues_1$instance<T> {
|
|
219
|
+
export interface JsonPropertyInfoValues_1$instance<T extends unknown> {
|
|
220
220
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonPropertyInfoValues_1: never;
|
|
221
221
|
|
|
222
222
|
get AttributeProviderFactory(): Func_1<ICustomAttributeProvider> | null;
|
|
@@ -224,8 +224,8 @@ export interface JsonPropertyInfoValues_1$instance<T> {
|
|
|
224
224
|
get Converter(): JsonConverter_1<T> | null;
|
|
225
225
|
set Converter(value: JsonConverter_1<T> | null);
|
|
226
226
|
DeclaringType: Type;
|
|
227
|
-
get Getter(): Func_2<
|
|
228
|
-
set Getter(value: Func_2<
|
|
227
|
+
get Getter(): Func_2<unknown, T | null> | null;
|
|
228
|
+
set Getter(value: Func_2<unknown, T | null> | null);
|
|
229
229
|
HasJsonInclude: boolean;
|
|
230
230
|
get IgnoreCondition(): Nullable_1<JsonIgnoreCondition>;
|
|
231
231
|
set IgnoreCondition(value: Nullable_1<JsonIgnoreCondition> | JsonIgnoreCondition);
|
|
@@ -239,17 +239,17 @@ export interface JsonPropertyInfoValues_1$instance<T> {
|
|
|
239
239
|
set NumberHandling(value: Nullable_1<JsonNumberHandling> | JsonNumberHandling);
|
|
240
240
|
PropertyName: string;
|
|
241
241
|
PropertyTypeInfo: JsonTypeInfo;
|
|
242
|
-
get Setter(): Action_2<
|
|
243
|
-
set Setter(value: Action_2<
|
|
242
|
+
get Setter(): Action_2<unknown, T | null> | null;
|
|
243
|
+
set Setter(value: Action_2<unknown, T | null> | null);
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
|
|
247
247
|
export const JsonPropertyInfoValues_1: {
|
|
248
|
-
new<T>(): JsonPropertyInfoValues_1<T>;
|
|
248
|
+
new<T extends unknown>(): JsonPropertyInfoValues_1<T>;
|
|
249
249
|
};
|
|
250
250
|
|
|
251
251
|
|
|
252
|
-
export type JsonPropertyInfoValues_1<T> = JsonPropertyInfoValues_1$instance<T>;
|
|
252
|
+
export type JsonPropertyInfoValues_1<T extends unknown> = JsonPropertyInfoValues_1$instance<T>;
|
|
253
253
|
|
|
254
254
|
export interface JsonTypeInfo$instance {
|
|
255
255
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonTypeInfo: never;
|
|
@@ -257,22 +257,22 @@ export interface JsonTypeInfo$instance {
|
|
|
257
257
|
get ConstructorAttributeProvider(): ICustomAttributeProvider | null;
|
|
258
258
|
set ConstructorAttributeProvider(value: ICustomAttributeProvider | null);
|
|
259
259
|
readonly Converter: JsonConverter;
|
|
260
|
-
get CreateObject(): Func_1<
|
|
261
|
-
set CreateObject(value: Func_1<
|
|
260
|
+
get CreateObject(): Func_1<unknown> | null;
|
|
261
|
+
set CreateObject(value: Func_1<unknown> | null);
|
|
262
262
|
readonly ElementType: Type | null;
|
|
263
263
|
IsReadOnly: boolean;
|
|
264
264
|
readonly KeyType: Type | null;
|
|
265
265
|
readonly Kind: JsonTypeInfoKind;
|
|
266
266
|
get NumberHandling(): Nullable_1<JsonNumberHandling>;
|
|
267
267
|
set NumberHandling(value: Nullable_1<JsonNumberHandling> | JsonNumberHandling);
|
|
268
|
-
get OnDeserialized(): Action_1<
|
|
269
|
-
set OnDeserialized(value: Action_1<
|
|
270
|
-
get OnDeserializing(): Action_1<
|
|
271
|
-
set OnDeserializing(value: Action_1<
|
|
272
|
-
get OnSerialized(): Action_1<
|
|
273
|
-
set OnSerialized(value: Action_1<
|
|
274
|
-
get OnSerializing(): Action_1<
|
|
275
|
-
set OnSerializing(value: Action_1<
|
|
268
|
+
get OnDeserialized(): Action_1<unknown> | null;
|
|
269
|
+
set OnDeserialized(value: Action_1<unknown> | null);
|
|
270
|
+
get OnDeserializing(): Action_1<unknown> | null;
|
|
271
|
+
set OnDeserializing(value: Action_1<unknown> | null);
|
|
272
|
+
get OnSerialized(): Action_1<unknown> | null;
|
|
273
|
+
set OnSerialized(value: Action_1<unknown> | null);
|
|
274
|
+
get OnSerializing(): Action_1<unknown> | null;
|
|
275
|
+
set OnSerializing(value: Action_1<unknown> | null);
|
|
276
276
|
readonly Options: JsonSerializerOptions;
|
|
277
277
|
get OriginatingResolver(): IJsonTypeInfoResolver | null;
|
|
278
278
|
set OriginatingResolver(value: IJsonTypeInfoResolver | null);
|
|
@@ -290,14 +290,14 @@ export interface JsonTypeInfo$instance {
|
|
|
290
290
|
|
|
291
291
|
|
|
292
292
|
export const JsonTypeInfo: {
|
|
293
|
-
CreateJsonTypeInfo<T>(options: JsonSerializerOptions): JsonTypeInfo_1<T>;
|
|
293
|
+
CreateJsonTypeInfo<T extends unknown>(options: JsonSerializerOptions): JsonTypeInfo_1<T>;
|
|
294
294
|
CreateJsonTypeInfo(type: Type, options: JsonSerializerOptions): JsonTypeInfo;
|
|
295
295
|
};
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
export type JsonTypeInfo = JsonTypeInfo$instance;
|
|
299
299
|
|
|
300
|
-
export interface JsonTypeInfo_1$instance<T> extends JsonTypeInfo {
|
|
300
|
+
export interface JsonTypeInfo_1$instance<T extends unknown> extends JsonTypeInfo {
|
|
301
301
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonTypeInfo_1: never;
|
|
302
302
|
|
|
303
303
|
get CreateObject(): Func_1<T> | null;
|
|
@@ -311,7 +311,7 @@ export const JsonTypeInfo_1: {
|
|
|
311
311
|
};
|
|
312
312
|
|
|
313
313
|
|
|
314
|
-
export type JsonTypeInfo_1<T> = JsonTypeInfo_1$instance<T>;
|
|
314
|
+
export type JsonTypeInfo_1<T extends unknown> = JsonTypeInfo_1$instance<T>;
|
|
315
315
|
|
|
316
316
|
export abstract class JsonMetadataServices$instance {
|
|
317
317
|
static readonly BooleanConverter: JsonConverter_1<System_Internal.Boolean>;
|
|
@@ -338,7 +338,7 @@ export abstract class JsonMetadataServices$instance {
|
|
|
338
338
|
static readonly JsonDocumentConverter: JsonConverter_1<JsonDocument | null>;
|
|
339
339
|
static readonly MemoryByteConverter: JsonConverter_1<Memory_1<System_Internal.Byte>>;
|
|
340
340
|
static readonly ReadOnlyMemoryByteConverter: JsonConverter_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
341
|
-
static readonly ObjectConverter: JsonConverter_1<
|
|
341
|
+
static readonly ObjectConverter: JsonConverter_1<unknown | null>;
|
|
342
342
|
static readonly HalfConverter: JsonConverter_1<System_Internal.Half>;
|
|
343
343
|
static readonly SingleConverter: JsonConverter_1<System_Internal.Single>;
|
|
344
344
|
static readonly SByteConverter: JsonConverter_1<System_Internal.SByte>;
|
|
@@ -349,33 +349,33 @@ export abstract class JsonMetadataServices$instance {
|
|
|
349
349
|
static readonly UInt64Converter: JsonConverter_1<System_Internal.UInt64>;
|
|
350
350
|
static readonly UriConverter: JsonConverter_1<Uri | null>;
|
|
351
351
|
static readonly VersionConverter: JsonConverter_1<Version | null>;
|
|
352
|
-
static CreateArrayInfo<TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TElement[]>): JsonTypeInfo_1<TElement[]>;
|
|
353
|
-
static CreateConcurrentQueueInfo<TCollection extends ConcurrentQueue_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
354
|
-
static CreateConcurrentStackInfo<TCollection extends ConcurrentStack_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
355
|
-
static CreateDictionaryInfo<TCollection extends Dictionary_2<TKey, TValue>, TKey, TValue>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
356
|
-
static CreateIAsyncEnumerableInfo<TCollection extends IAsyncEnumerable_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
357
|
-
static CreateICollectionInfo<TCollection extends ICollection_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
358
|
-
static CreateIDictionaryInfo<TCollection extends IDictionary_2<TKey, TValue>, TKey, TValue>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
359
|
-
static CreateIEnumerableInfo<TCollection extends IEnumerable_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
360
|
-
static CreateIListInfo<TCollection extends IList>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
361
|
-
static CreateImmutableDictionaryInfo<TCollection extends IReadOnlyDictionary_2<TKey, TValue>, TKey, TValue>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, createRangeFunc: Func_2<IEnumerable_1<KeyValuePair_2<TKey, TValue>>, TCollection>): JsonTypeInfo_1<TCollection>;
|
|
362
|
-
static CreateImmutableEnumerableInfo<TCollection extends IEnumerable_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, createRangeFunc: Func_2<IEnumerable_1<TElement>, TCollection>): JsonTypeInfo_1<TCollection>;
|
|
363
|
-
static CreateIReadOnlyDictionaryInfo<TCollection extends IReadOnlyDictionary_2<TKey, TValue>, TKey, TValue>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
364
|
-
static CreateISetInfo<TCollection extends ISet_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
365
|
-
static CreateListInfo<TCollection extends List_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
366
|
-
static CreateMemoryInfo<TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<Memory_1<TElement>>): JsonTypeInfo_1<Memory_1<TElement>>;
|
|
367
|
-
static CreateObjectInfo<T>(options: JsonSerializerOptions, objectInfo: JsonObjectInfoValues_1<T>): JsonTypeInfo_1<T>;
|
|
368
|
-
static CreatePropertyInfo<T>(options: JsonSerializerOptions, propertyInfo: JsonPropertyInfoValues_1<T>): JsonPropertyInfo;
|
|
369
|
-
static CreateQueueInfo<TCollection extends IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection,
|
|
370
|
-
static CreateQueueInfo<TCollection extends Queue_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
371
|
-
static CreateReadOnlyMemoryInfo<TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<ReadOnlyMemory_1<TElement>>): JsonTypeInfo_1<ReadOnlyMemory_1<TElement>>;
|
|
372
|
-
static CreateStackInfo<TCollection extends IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection,
|
|
373
|
-
static CreateStackInfo<TCollection extends Stack_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
374
|
-
static CreateValueInfo<T>(options: JsonSerializerOptions, converter: JsonConverter): JsonTypeInfo_1<T>;
|
|
375
|
-
static GetEnumConverter<T extends
|
|
376
|
-
static GetNullableConverter<T extends NonNullable<
|
|
377
|
-
static GetNullableConverter<T extends NonNullable<
|
|
378
|
-
static GetUnsupportedTypeConverter<T>(): JsonConverter_1<T>;
|
|
352
|
+
static CreateArrayInfo<TElement extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TElement[]>): JsonTypeInfo_1<TElement[]>;
|
|
353
|
+
static CreateConcurrentQueueInfo<TCollection extends unknown & ConcurrentQueue_1<TElement>, TElement extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
354
|
+
static CreateConcurrentStackInfo<TCollection extends unknown & ConcurrentStack_1<TElement>, TElement extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
355
|
+
static CreateDictionaryInfo<TCollection extends unknown & Dictionary_2<TKey, TValue>, TKey extends unknown, TValue extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
356
|
+
static CreateIAsyncEnumerableInfo<TCollection extends unknown & IAsyncEnumerable_1<TElement>, TElement extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
357
|
+
static CreateICollectionInfo<TCollection extends unknown & ICollection_1<TElement>, TElement extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
358
|
+
static CreateIDictionaryInfo<TCollection extends unknown & IDictionary_2<TKey, TValue>, TKey extends unknown, TValue extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
359
|
+
static CreateIEnumerableInfo<TCollection extends unknown & IEnumerable_1<TElement>, TElement extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
360
|
+
static CreateIListInfo<TCollection extends unknown & IList>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
361
|
+
static CreateImmutableDictionaryInfo<TCollection extends unknown & IReadOnlyDictionary_2<TKey, TValue>, TKey extends unknown, TValue extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, createRangeFunc: Func_2<IEnumerable_1<KeyValuePair_2<TKey, TValue>>, TCollection>): JsonTypeInfo_1<TCollection>;
|
|
362
|
+
static CreateImmutableEnumerableInfo<TCollection extends unknown & IEnumerable_1<TElement>, TElement extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, createRangeFunc: Func_2<IEnumerable_1<TElement>, TCollection>): JsonTypeInfo_1<TCollection>;
|
|
363
|
+
static CreateIReadOnlyDictionaryInfo<TCollection extends unknown & IReadOnlyDictionary_2<TKey, TValue>, TKey extends unknown, TValue extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
364
|
+
static CreateISetInfo<TCollection extends unknown & ISet_1<TElement>, TElement extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
365
|
+
static CreateListInfo<TCollection extends unknown & List_1<TElement>, TElement extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
366
|
+
static CreateMemoryInfo<TElement extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<Memory_1<TElement>>): JsonTypeInfo_1<Memory_1<TElement>>;
|
|
367
|
+
static CreateObjectInfo<T extends unknown>(options: JsonSerializerOptions, objectInfo: JsonObjectInfoValues_1<T>): JsonTypeInfo_1<T>;
|
|
368
|
+
static CreatePropertyInfo<T extends unknown>(options: JsonSerializerOptions, propertyInfo: JsonPropertyInfoValues_1<T>): JsonPropertyInfo;
|
|
369
|
+
static CreateQueueInfo<TCollection extends unknown & IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection, unknown | null>): JsonTypeInfo_1<TCollection>;
|
|
370
|
+
static CreateQueueInfo<TCollection extends unknown & Queue_1<TElement>, TElement extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
371
|
+
static CreateReadOnlyMemoryInfo<TElement extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<ReadOnlyMemory_1<TElement>>): JsonTypeInfo_1<ReadOnlyMemory_1<TElement>>;
|
|
372
|
+
static CreateStackInfo<TCollection extends unknown & IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection, unknown | null>): JsonTypeInfo_1<TCollection>;
|
|
373
|
+
static CreateStackInfo<TCollection extends unknown & Stack_1<TElement>, TElement extends unknown>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
374
|
+
static CreateValueInfo<T extends unknown>(options: JsonSerializerOptions, converter: JsonConverter): JsonTypeInfo_1<T>;
|
|
375
|
+
static GetEnumConverter<T extends NonNullable<unknown> & number>(options: JsonSerializerOptions): JsonConverter_1<T>;
|
|
376
|
+
static GetNullableConverter<T extends NonNullable<unknown>>(underlyingTypeInfo: JsonTypeInfo_1<T>): JsonConverter_1<Nullable_1<T>>;
|
|
377
|
+
static GetNullableConverter<T extends NonNullable<unknown>>(options: JsonSerializerOptions): JsonConverter_1<Nullable_1<T>>;
|
|
378
|
+
static GetUnsupportedTypeConverter<T extends unknown>(): JsonConverter_1<T>;
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Text.Json.Serialization.Metadata/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { ConcurrentQueue_1, ConcurrentStack_1 } from './System.Collections.Concurrent/internal/index.js';
|
|
10
14
|
import type { Dictionary_2, IAsyncEnumerable_1, ICollection_1, IDictionary_2, IEnumerable_1, IList_1, IReadOnlyDictionary_2, ISet_1, KeyValuePair_2, List_1, Queue_1, Stack_1 } from './System.Collections.Generic/internal/index.js';
|
|
@@ -38,10 +42,10 @@ declare const __unspecified: unique symbol;
|
|
|
38
42
|
export type __ = typeof __unspecified;
|
|
39
43
|
|
|
40
44
|
export type JsonTypeInfo<
|
|
41
|
-
T1 = __,
|
|
45
|
+
T1 extends unknown | __ = __,
|
|
42
46
|
> =
|
|
43
47
|
[T1] extends [__] ? Internal.JsonTypeInfo :
|
|
44
|
-
Internal.JsonTypeInfo_1<T1
|
|
48
|
+
[T1] extends [unknown] ? Internal.JsonTypeInfo_1<T1> : never;
|
|
45
49
|
|
|
46
50
|
// Extension methods (C# using semantics)
|
|
47
51
|
export type { ExtensionMethods_System_Text_Json_Serialization_Metadata as ExtensionMethods } from './__internal/extensions/index.js';
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Text.Json.Serialization/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IJsonTypeInfoResolver, JsonTypeInfo } from './System.Text.Json.Serialization.Metadata/internal/index.js';
|
|
10
14
|
import type { JsonCommentHandling, JsonNamingPolicy, JsonSerializerDefaults, JsonSerializerOptions, Utf8JsonReader, Utf8JsonWriter } from './System.Text.Json/internal/index.js';
|
|
@@ -56,20 +60,20 @@ declare const __unspecified: unique symbol;
|
|
|
56
60
|
export type __ = typeof __unspecified;
|
|
57
61
|
|
|
58
62
|
export type JsonConverter<
|
|
59
|
-
T1 = __,
|
|
63
|
+
T1 extends unknown | __ = __,
|
|
60
64
|
> =
|
|
61
65
|
[T1] extends [__] ? Internal.JsonConverter :
|
|
62
|
-
Internal.JsonConverter_1<T1
|
|
66
|
+
[T1] extends [unknown] ? Internal.JsonConverter_1<T1> : never;
|
|
63
67
|
|
|
64
68
|
export type JsonStringEnumConverter<
|
|
65
|
-
T1 = __,
|
|
69
|
+
T1 extends NonNullable<unknown> & number | __ = __,
|
|
66
70
|
> =
|
|
67
71
|
[T1] extends [__] ? Internal.JsonStringEnumConverter :
|
|
68
|
-
[T1] extends [
|
|
72
|
+
[T1] extends [NonNullable<unknown> & number] ? Internal.JsonStringEnumConverter_1<T1> : never;
|
|
69
73
|
|
|
70
74
|
export type ReferenceHandler<
|
|
71
|
-
T1 = __,
|
|
75
|
+
T1 extends unknown & Internal.ReferenceResolver | __ = __,
|
|
72
76
|
> =
|
|
73
77
|
[T1] extends [__] ? Internal.ReferenceHandler :
|
|
74
|
-
[T1] extends [Internal.ReferenceResolver] ? Internal.ReferenceHandler_1<T1> : never;
|
|
78
|
+
[T1] extends [unknown & Internal.ReferenceResolver] ? Internal.ReferenceHandler_1<T1> : never;
|
|
75
79
|
|
package/System.Text.Json.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Text.Json/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IBufferWriter_1, ReadOnlySequence_1 } from './System.Buffers/internal/index.js';
|
|
10
14
|
import type { IAsyncEnumerable_1, IEnumerable_1, IEnumerator_1, IList_1 } from './System.Collections.Generic/internal/index.js';
|