@tsonic/microsoft-extensions 10.0.40 → 10.0.41

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 (62) hide show
  1. package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +11 -10
  2. package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +10 -12
  3. package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +38 -40
  4. package/Microsoft.Extensions.Configuration/internal/index.d.ts +69 -71
  5. package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +6 -5
  6. package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +6 -5
  7. package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +4 -3
  8. package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +3 -2
  9. package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +5 -4
  10. package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +6 -5
  11. package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +3 -2
  12. package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +5 -4
  13. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +103 -102
  14. package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +24 -23
  15. package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +22 -21
  16. package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +30 -32
  17. package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +3 -2
  18. package/Microsoft.Extensions.FileProviders/internal/index.d.ts +6 -5
  19. package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +3 -2
  20. package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +3 -2
  21. package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +3 -2
  22. package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +6 -5
  23. package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +9 -8
  24. package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +9 -8
  25. package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +5 -4
  26. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +4 -3
  27. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/bindings.json +230 -230
  28. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +45 -44
  29. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.d.ts +2 -2
  30. package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +3 -2
  31. package/Microsoft.Extensions.Hosting/internal/index.d.ts +30 -29
  32. package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +3 -2
  33. package/Microsoft.Extensions.Http/internal/index.d.ts +5 -4
  34. package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +12 -11
  35. package/Microsoft.Extensions.Internal/internal/index.d.ts +3 -2
  36. package/Microsoft.Extensions.Localization/internal/index.d.ts +15 -14
  37. package/Microsoft.Extensions.Logging/internal/index.d.ts +78 -77
  38. package/Microsoft.Extensions.Logging.Abstractions/bindings.json +4 -1
  39. package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +13 -12
  40. package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +3 -2
  41. package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +15 -17
  42. package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +3 -2
  43. package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +12 -11
  44. package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +3 -2
  45. package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +4 -3
  46. package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +4 -3
  47. package/Microsoft.Extensions.Options/internal/index.d.ts +104 -103
  48. package/Microsoft.Extensions.Primitives/bindings.json +0 -20
  49. package/Microsoft.Extensions.Primitives/internal/index.d.ts +30 -33
  50. package/Microsoft.Extensions.Primitives.d.ts +1 -1
  51. package/Microsoft.Extensions.Validation/internal/index.d.ts +14 -16
  52. package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -4
  53. package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +2 -4
  54. package/README.md +45 -15
  55. package/System.Diagnostics/internal/index.d.ts +11 -10
  56. package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +7 -6
  57. package/System.Net.Http/internal/index.d.ts +3 -2
  58. package/System.Security.Cryptography/internal/index.d.ts +5 -4
  59. package/System.Security.Cryptography.Pkcs/internal/index.d.ts +48 -50
  60. package/System.Security.Cryptography.Xml/internal/index.d.ts +148 -150
  61. package/__internal/extensions/index.d.ts +186 -188
  62. package/package.json +3 -3
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Configuration.CommandLine
3
3
  // Assembly: Microsoft.Extensions.Configuration.CommandLine
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, 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
  // Import types from other namespaces
9
10
  import * as Microsoft_Extensions_Configuration_Internal from "../../Microsoft.Extensions.Configuration/internal/index.js";
@@ -23,7 +24,7 @@ export interface CommandLineConfigurationProvider$instance extends Configuration
23
24
 
24
25
 
25
26
  export const CommandLineConfigurationProvider: {
26
- new(args: IEnumerable_1<System_Internal.String>, switchMappings: IDictionary_2<System_Internal.String, System_Internal.String>): CommandLineConfigurationProvider;
27
+ new(args: IEnumerable_1<System_Internal.String>, switchMappings: IDictionary_2<System_Internal.String, System_Internal.String> | null): CommandLineConfigurationProvider;
27
28
  };
28
29
 
29
30
 
@@ -40,8 +41,8 @@ export interface CommandLineConfigurationSource$instance extends Microsoft_Exten
40
41
  readonly __tsonic_iface_Microsoft_Extensions_Configuration_IConfigurationSource: never;
41
42
 
42
43
  Args: IEnumerable_1<System_Internal.String>;
43
- get SwitchMappings(): IDictionary_2<System_Internal.String, System_Internal.String> | undefined;
44
- set SwitchMappings(value: IDictionary_2<System_Internal.String, System_Internal.String> | undefined);
44
+ get SwitchMappings(): IDictionary_2<System_Internal.String, System_Internal.String> | null;
45
+ set SwitchMappings(value: IDictionary_2<System_Internal.String, System_Internal.String> | null);
45
46
  Build(builder: IConfigurationBuilder): IConfigurationProvider;
46
47
  }
47
48
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Configuration.EnvironmentVariables
3
3
  // Assembly: Microsoft.Extensions.Configuration.EnvironmentVariables
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, 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
  // Import types from other namespaces
9
10
  import * as Microsoft_Extensions_Configuration_Internal from "../../Microsoft.Extensions.Configuration/internal/index.js";
@@ -25,7 +26,7 @@ export interface EnvironmentVariablesConfigurationProvider$instance extends Conf
25
26
 
26
27
  export const EnvironmentVariablesConfigurationProvider: {
27
28
  new(): EnvironmentVariablesConfigurationProvider;
28
- new(prefix: string): EnvironmentVariablesConfigurationProvider;
29
+ new(prefix: string | null): EnvironmentVariablesConfigurationProvider;
29
30
  };
30
31
 
31
32
 
@@ -41,8 +42,8 @@ export interface EnvironmentVariablesConfigurationSource$instance extends Micros
41
42
 
42
43
  readonly __tsonic_iface_Microsoft_Extensions_Configuration_IConfigurationSource: never;
43
44
 
44
- get Prefix(): string | undefined;
45
- set Prefix(value: string | undefined);
45
+ get Prefix(): string | null;
46
+ set Prefix(value: string | null);
46
47
  Build(builder: IConfigurationBuilder): IConfigurationProvider;
47
48
  }
48
49
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Configuration.Ini
3
3
  // Assembly: Microsoft.Extensions.Configuration.Ini
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, 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
  // Import types from other namespaces
9
10
  import * as Microsoft_Extensions_Configuration_Internal from "../../Microsoft.Extensions.Configuration/internal/index.js";
@@ -71,7 +72,7 @@ export interface IniStreamConfigurationProvider$instance extends StreamConfigura
71
72
 
72
73
  export const IniStreamConfigurationProvider: {
73
74
  new(source: IniStreamConfigurationSource): IniStreamConfigurationProvider;
74
- Read(stream: Stream): IDictionary_2<System_Internal.String, string | undefined>;
75
+ Read(stream: Stream): IDictionary_2<System_Internal.String, string | null>;
75
76
  };
76
77
 
77
78
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Configuration.Json
3
3
  // Assembly: Microsoft.Extensions.Configuration.Json
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, 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
  // Import types from other namespaces
9
10
  import * as Microsoft_Extensions_Configuration_Internal from "../../Microsoft.Extensions.Configuration/internal/index.js";
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Configuration.KeyPerFile
3
3
  // Assembly: Microsoft.Extensions.Configuration.KeyPerFile
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, 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
  // Import types from other namespaces
9
10
  import * as Microsoft_Extensions_Configuration_Internal from "../../Microsoft.Extensions.Configuration/internal/index.js";
@@ -43,8 +44,8 @@ export interface KeyPerFileConfigurationSource$instance extends Microsoft_Extens
43
44
 
44
45
  readonly __tsonic_iface_Microsoft_Extensions_Configuration_IConfigurationSource: never;
45
46
 
46
- get FileProvider(): IFileProvider | undefined;
47
- set FileProvider(value: IFileProvider | undefined);
47
+ get FileProvider(): IFileProvider | null;
48
+ set FileProvider(value: IFileProvider | null);
48
49
  IgnoreCondition: Func_2<System_Internal.String, System_Internal.Boolean>;
49
50
  IgnorePrefix: string;
50
51
  Optional: boolean;
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Configuration.Memory
3
3
  // Assembly: Microsoft.Extensions.Configuration
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, 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
  // Import types from other namespaces
9
10
  import * as Microsoft_Extensions_Configuration_Internal from "../../Microsoft.Extensions.Configuration/internal/index.js";
@@ -23,7 +24,7 @@ export interface MemoryConfigurationProvider$instance extends ConfigurationProvi
23
24
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
24
25
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
25
26
 
26
- Add(key: string, value: string): void;
27
+ Add(key: string, value: string | null): void;
27
28
  GetEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, System_Internal.String>>;
28
29
  }
29
30
 
@@ -45,8 +46,8 @@ export interface MemoryConfigurationSource$instance extends Microsoft_Extensions
45
46
 
46
47
  readonly __tsonic_iface_Microsoft_Extensions_Configuration_IConfigurationSource: never;
47
48
 
48
- get InitialData(): IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>> | undefined;
49
- set InitialData(value: IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>> | undefined);
49
+ get InitialData(): IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>> | null;
50
+ set InitialData(value: IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>> | null);
50
51
  Build(builder: IConfigurationBuilder): IConfigurationProvider;
51
52
  }
52
53
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Configuration.UserSecrets
3
3
  // Assembly: Microsoft.Extensions.Configuration.UserSecrets
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, 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
  // Import types from other namespaces
9
10
  import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.Configuration.Xml
3
3
  // Assembly: Microsoft.Extensions.Configuration.Xml
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, 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
  // Import types from other namespaces
9
10
  import * as Microsoft_Extensions_Configuration_Internal from "../../Microsoft.Extensions.Configuration/internal/index.js";
@@ -63,7 +64,7 @@ export type XmlConfigurationSource = XmlConfigurationSource$instance & __XmlConf
63
64
  export interface XmlDocumentDecryptor$instance {
64
65
  readonly __tsonic_type_Microsoft_Extensions_Configuration_Xml_XmlDocumentDecryptor: never;
65
66
 
66
- CreateDecryptingXmlReader(input: Stream, settings: XmlReaderSettings): XmlReader;
67
+ CreateDecryptingXmlReader(input: Stream, settings: XmlReaderSettings | null): XmlReader;
67
68
  DecryptDocumentAndCreateXmlReader(document: XmlDocument): XmlReader;
68
69
  }
69
70
 
@@ -87,7 +88,7 @@ export interface XmlStreamConfigurationProvider$instance extends StreamConfigura
87
88
 
88
89
  export const XmlStreamConfigurationProvider: {
89
90
  new(source: XmlStreamConfigurationSource): XmlStreamConfigurationProvider;
90
- Read(stream: Stream, decryptor: XmlDocumentDecryptor): IDictionary_2<System_Internal.String, string | undefined>;
91
+ Read(stream: Stream, decryptor: XmlDocumentDecryptor): IDictionary_2<System_Internal.String, string | null>;
91
92
  };
92
93
 
93
94
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: Microsoft.Extensions.DependencyInjection
3
3
  // Assembly: Microsoft.Extensions.Caching.Memory, Microsoft.Extensions.DependencyInjection, Microsoft.Extensions.DependencyInjection.Abstractions, Microsoft.Extensions.Diagnostics, Microsoft.Extensions.Diagnostics.HealthChecks, Microsoft.Extensions.Hosting.Abstractions, Microsoft.Extensions.Http, Microsoft.Extensions.Localization, Microsoft.Extensions.Logging, Microsoft.Extensions.Options, Microsoft.Extensions.Options.ConfigurationExtensions, Microsoft.Extensions.Options.DataAnnotations, Microsoft.Extensions.Validation, Microsoft.Extensions.WebEncoders
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, 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
  // Import types from other namespaces
9
10
  import type { MemoryCacheOptions, MemoryDistributedCacheOptions } from "../../Microsoft.Extensions.Caching.Memory/internal/index.js";
@@ -44,10 +45,10 @@ export enum ServiceLifetime {
44
45
  }
45
46
 
46
47
 
47
- export type ObjectFactory = (serviceProvider: IServiceProvider, arguments: unknown[]) => unknown;
48
+ export type ObjectFactory = (serviceProvider: IServiceProvider, arguments: (JsValue | null)[] | null) => JsValue;
48
49
 
49
50
 
50
- export type ObjectFactory_1<T> = (serviceProvider: IServiceProvider, arguments: unknown[]) => T;
51
+ export type ObjectFactory_1<T> = (serviceProvider: IServiceProvider, arguments: (JsValue | null)[] | null) => T;
51
52
 
52
53
 
53
54
  export interface IHealthChecksBuilder$instance {
@@ -73,7 +74,7 @@ export type IHttpClientBuilder = IHttpClientBuilder$instance;
73
74
  export interface IKeyedServiceProvider$instance extends IServiceProvider {
74
75
  readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IKeyedServiceProvider: never;
75
76
 
76
- GetKeyedService(serviceType: Type, serviceKey: unknown): unknown | undefined;
77
+ GetKeyedService(serviceType: Type, serviceKey: JsValue | null): JsValue | null;
77
78
  }
78
79
 
79
80
 
@@ -104,7 +105,7 @@ export type IServiceProviderFactory_1<TContainerBuilder> = IServiceProviderFacto
104
105
  export interface IServiceProviderIsKeyedService$instance extends IServiceProviderIsService {
105
106
  readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_IServiceProviderIsKeyedService: never;
106
107
 
107
- IsKeyedService(serviceType: Type, serviceKey: unknown): boolean;
108
+ IsKeyedService(serviceType: Type, serviceKey: JsValue | null): boolean;
108
109
  IsService(serviceType: Type): boolean;
109
110
  }
110
111
 
@@ -155,7 +156,7 @@ export type ISocketsHttpHandlerBuilder = ISocketsHttpHandlerBuilder$instance;
155
156
  export interface ISupportRequiredService$instance {
156
157
  readonly __tsonic_iface_Microsoft_Extensions_DependencyInjection_ISupportRequiredService: never;
157
158
 
158
- GetRequiredService(serviceType: Type): unknown;
159
+ GetRequiredService(serviceType: Type): JsValue;
159
160
  }
160
161
 
161
162
 
@@ -225,13 +226,13 @@ export type DefaultServiceProviderFactory = DefaultServiceProviderFactory$instan
225
226
  export interface FromKeyedServicesAttribute$instance extends Attribute {
226
227
  readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_FromKeyedServicesAttribute: never;
227
228
 
228
- readonly Key: unknown | undefined;
229
+ readonly Key: JsValue | null;
229
230
  readonly LookupMode: ServiceKeyLookupMode;
230
231
  }
231
232
 
232
233
 
233
234
  export const FromKeyedServicesAttribute: {
234
- new(key: unknown): FromKeyedServicesAttribute;
235
+ new(key: JsValue | null): FromKeyedServicesAttribute;
235
236
  new(): FromKeyedServicesAttribute;
236
237
  };
237
238
 
@@ -271,15 +272,15 @@ export type ServiceCollection = ServiceCollection$instance & { [index: number]:
271
272
  export interface ServiceDescriptor$instance {
272
273
  readonly __tsonic_type_Microsoft_Extensions_DependencyInjection_ServiceDescriptor: never;
273
274
 
274
- readonly ImplementationFactory: Func_2<IServiceProvider, unknown> | undefined;
275
- readonly ImplementationInstance: unknown | undefined;
276
- readonly ImplementationType: Type | undefined;
275
+ readonly ImplementationFactory: Func_2<IServiceProvider, JsValue> | null;
276
+ readonly ImplementationInstance: JsValue | null;
277
+ readonly ImplementationType: Type | null;
277
278
  readonly IsKeyedService: boolean;
278
- readonly KeyedImplementationFactory: Func_3<IServiceProvider, unknown | undefined, unknown> | undefined;
279
- readonly KeyedImplementationInstance: unknown | undefined;
280
- readonly KeyedImplementationType: Type | undefined;
279
+ readonly KeyedImplementationFactory: Func_3<IServiceProvider, JsValue | null, JsValue> | null;
280
+ readonly KeyedImplementationInstance: JsValue | null;
281
+ readonly KeyedImplementationType: Type | null;
281
282
  readonly Lifetime: ServiceLifetime;
282
- readonly ServiceKey: unknown | undefined;
283
+ readonly ServiceKey: JsValue | null;
283
284
  readonly ServiceType: Type;
284
285
  ToString(): string;
285
286
  }
@@ -287,42 +288,42 @@ export interface ServiceDescriptor$instance {
287
288
 
288
289
  export const ServiceDescriptor: {
289
290
  new(serviceType: Type, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
290
- new(serviceType: Type, serviceKey: unknown, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
291
- new(serviceType: Type, instance: unknown): ServiceDescriptor;
292
- new(serviceType: Type, serviceKey: unknown, instance: unknown): ServiceDescriptor;
293
- new(serviceType: Type, factory: Func_2<IServiceProvider, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
294
- new(serviceType: Type, serviceKey: unknown, factory: Func_3<IServiceProvider, unknown, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
295
- Describe(serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
291
+ new(serviceType: Type, serviceKey: JsValue | null, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
292
+ new(serviceType: Type, instance: JsValue): ServiceDescriptor;
293
+ new(serviceType: Type, serviceKey: JsValue | null, instance: JsValue): ServiceDescriptor;
294
+ new(serviceType: Type, factory: Func_2<IServiceProvider, JsValue>, lifetime: ServiceLifetime): ServiceDescriptor;
295
+ new(serviceType: Type, serviceKey: JsValue | null, factory: Func_3<IServiceProvider, JsValue | null, JsValue>, lifetime: ServiceLifetime): ServiceDescriptor;
296
+ Describe(serviceType: Type, implementationFactory: Func_2<IServiceProvider, JsValue>, lifetime: ServiceLifetime): ServiceDescriptor;
296
297
  Describe(serviceType: Type, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
297
- DescribeKeyed(serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>, lifetime: ServiceLifetime): ServiceDescriptor;
298
- DescribeKeyed(serviceType: Type, serviceKey: unknown, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
299
- KeyedScoped<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
300
- KeyedScoped<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
301
- KeyedScoped(service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): ServiceDescriptor;
302
- KeyedScoped(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
303
- KeyedSingleton<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
304
- KeyedSingleton<TService>(serviceKey: unknown, implementationInstance: TService): ServiceDescriptor;
305
- KeyedSingleton<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
306
- KeyedSingleton(serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): ServiceDescriptor;
307
- KeyedSingleton(serviceType: Type, serviceKey: unknown, implementationInstance: unknown): ServiceDescriptor;
308
- KeyedSingleton(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
309
- KeyedTransient<TService, TImplementation extends TService>(serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TImplementation>): ServiceDescriptor;
310
- KeyedTransient<TService, TImplementation extends TService>(serviceKey: unknown): ServiceDescriptor;
311
- KeyedTransient(service: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): ServiceDescriptor;
312
- KeyedTransient(service: Type, serviceKey: unknown, implementationType: Type): ServiceDescriptor;
298
+ DescribeKeyed(serviceType: Type, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, JsValue>, lifetime: ServiceLifetime): ServiceDescriptor;
299
+ DescribeKeyed(serviceType: Type, serviceKey: JsValue | null, implementationType: Type, lifetime: ServiceLifetime): ServiceDescriptor;
300
+ KeyedScoped<TService, TImplementation extends TService>(serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, TImplementation>): ServiceDescriptor;
301
+ KeyedScoped<TService, TImplementation extends TService>(serviceKey: JsValue | null): ServiceDescriptor;
302
+ KeyedScoped(service: Type, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, JsValue>): ServiceDescriptor;
303
+ KeyedScoped(service: Type, serviceKey: JsValue | null, implementationType: Type): ServiceDescriptor;
304
+ KeyedSingleton<TService, TImplementation extends TService>(serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, TImplementation>): ServiceDescriptor;
305
+ KeyedSingleton<TService>(serviceKey: JsValue | null, implementationInstance: TService): ServiceDescriptor;
306
+ KeyedSingleton<TService, TImplementation extends TService>(serviceKey: JsValue | null): ServiceDescriptor;
307
+ KeyedSingleton(serviceType: Type, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, JsValue>): ServiceDescriptor;
308
+ KeyedSingleton(serviceType: Type, serviceKey: JsValue | null, implementationInstance: JsValue): ServiceDescriptor;
309
+ KeyedSingleton(service: Type, serviceKey: JsValue | null, implementationType: Type): ServiceDescriptor;
310
+ KeyedTransient<TService, TImplementation extends TService>(serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, TImplementation>): ServiceDescriptor;
311
+ KeyedTransient<TService, TImplementation extends TService>(serviceKey: JsValue | null): ServiceDescriptor;
312
+ KeyedTransient(service: Type, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, JsValue>): ServiceDescriptor;
313
+ KeyedTransient(service: Type, serviceKey: JsValue | null, implementationType: Type): ServiceDescriptor;
313
314
  Scoped<TService, TImplementation extends TService>(): ServiceDescriptor;
314
315
  Scoped<TService, TImplementation extends TService>(implementationFactory: Func_2<IServiceProvider, TImplementation>): ServiceDescriptor;
315
- Scoped(service: Type, implementationFactory: Func_2<IServiceProvider, unknown>): ServiceDescriptor;
316
+ Scoped(service: Type, implementationFactory: Func_2<IServiceProvider, JsValue>): ServiceDescriptor;
316
317
  Scoped(service: Type, implementationType: Type): ServiceDescriptor;
317
318
  Singleton<TService, TImplementation extends TService>(): ServiceDescriptor;
318
319
  Singleton<TService, TImplementation extends TService>(implementationFactory: Func_2<IServiceProvider, TImplementation>): ServiceDescriptor;
319
- Singleton(serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>): ServiceDescriptor;
320
- Singleton(serviceType: Type, implementationInstance: unknown): ServiceDescriptor;
320
+ Singleton(serviceType: Type, implementationFactory: Func_2<IServiceProvider, JsValue>): ServiceDescriptor;
321
+ Singleton(serviceType: Type, implementationInstance: JsValue): ServiceDescriptor;
321
322
  Singleton(service: Type, implementationType: Type): ServiceDescriptor;
322
323
  Singleton<TService>(implementationInstance: TService): ServiceDescriptor;
323
324
  Transient<TService, TImplementation extends TService>(): ServiceDescriptor;
324
325
  Transient<TService, TImplementation extends TService>(implementationFactory: Func_2<IServiceProvider, TImplementation>): ServiceDescriptor;
325
- Transient(service: Type, implementationFactory: Func_2<IServiceProvider, unknown>): ServiceDescriptor;
326
+ Transient(service: Type, implementationFactory: Func_2<IServiceProvider, JsValue>): ServiceDescriptor;
326
327
  Transient(service: Type, implementationType: Type): ServiceDescriptor;
327
328
  };
328
329
 
@@ -352,9 +353,9 @@ export interface ServiceProvider$instance extends IKeyedServiceProvider$instance
352
353
 
353
354
  Dispose(): void;
354
355
  DisposeAsync(): ValueTask;
355
- GetKeyedService(serviceType: Type, serviceKey: unknown): unknown | undefined;
356
- GetRequiredKeyedService(serviceType: Type, serviceKey: unknown): unknown;
357
- GetService(serviceType: Type): unknown | undefined;
356
+ GetKeyedService(serviceType: Type, serviceKey: JsValue | null): JsValue | null;
357
+ GetRequiredKeyedService(serviceType: Type, serviceKey: JsValue | null): JsValue;
358
+ GetService(serviceType: Type): JsValue | null;
358
359
  }
359
360
 
360
361
 
@@ -387,9 +388,9 @@ export type ServiceProviderOptions = ServiceProviderOptions$instance;
387
388
  export abstract class ActivatorUtilities$instance {
388
389
  static CreateFactory(instanceType: Type, argumentTypes: Type[]): ObjectFactory;
389
390
  static CreateFactory<T>(argumentTypes: Type[]): ObjectFactory_1<T>;
390
- static CreateInstance<T>(provider: IServiceProvider, ...parameters: unknown[]): T;
391
- static CreateInstance(provider: IServiceProvider, instanceType: Type, ...parameters: unknown[]): unknown;
392
- static GetServiceOrCreateInstance(provider: IServiceProvider, type: Type): unknown;
391
+ static CreateInstance<T>(provider: IServiceProvider, ...parameters: JsValue[]): T;
392
+ static CreateInstance(provider: IServiceProvider, instanceType: Type, ...parameters: JsValue[]): JsValue;
393
+ static GetServiceOrCreateInstance(provider: IServiceProvider, type: Type): JsValue;
393
394
  static GetServiceOrCreateInstance<T>(provider: IServiceProvider): T;
394
395
  }
395
396
 
@@ -405,28 +406,28 @@ export abstract class EncoderServiceCollectionExtensions$instance {
405
406
  export type EncoderServiceCollectionExtensions = EncoderServiceCollectionExtensions$instance;
406
407
 
407
408
  export abstract class HealthChecksBuilderAddCheckExtensions$instance {
408
- static AddCheck(builder: IHealthChecksBuilder, name: string, instance: IHealthCheck, failureStatus?: Nullable_1<HealthStatus>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
409
+ static AddCheck(builder: IHealthChecksBuilder, name: string, instance: IHealthCheck, failureStatus?: Nullable_1<HealthStatus>, tags?: IEnumerable_1<System_Internal.String> | null, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
409
410
  static AddCheck(builder: IHealthChecksBuilder, name: string, instance: IHealthCheck, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
410
- static AddCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus?: Nullable_1<HealthStatus>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
411
+ static AddCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus?: Nullable_1<HealthStatus>, tags?: IEnumerable_1<System_Internal.String> | null, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
411
412
  static AddCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
412
- static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>, ...args: unknown[]): IHealthChecksBuilder;
413
- static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>, timeout: TimeSpan, ...args: unknown[]): IHealthChecksBuilder;
414
- static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, ...args: unknown[]): IHealthChecksBuilder;
415
- static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, ...args: unknown[]): IHealthChecksBuilder;
413
+ static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String> | null, ...args: JsValue[]): IHealthChecksBuilder;
414
+ static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, tags: IEnumerable_1<System_Internal.String>, timeout: TimeSpan, ...args: JsValue[]): IHealthChecksBuilder;
415
+ static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, failureStatus: Nullable_1<HealthStatus>, ...args: JsValue[]): IHealthChecksBuilder;
416
+ static AddTypeActivatedCheck<T extends IHealthCheck>(builder: IHealthChecksBuilder, name: string, ...args: JsValue[]): IHealthChecksBuilder;
416
417
  }
417
418
 
418
419
 
419
420
  export type HealthChecksBuilderAddCheckExtensions = HealthChecksBuilderAddCheckExtensions$instance;
420
421
 
421
422
  export abstract class HealthChecksBuilderDelegateExtensions$instance {
422
- static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<Task_1<HealthCheckResult>>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
423
+ static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<Task_1<HealthCheckResult>>, tags?: IEnumerable_1<System_Internal.String> | null, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
423
424
  static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<Task_1<HealthCheckResult>>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
424
- static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, Task_1<HealthCheckResult>>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
425
+ static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, Task_1<HealthCheckResult>>, tags?: IEnumerable_1<System_Internal.String> | null, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
425
426
  static AddAsyncCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, Task_1<HealthCheckResult>>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
426
- static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<HealthCheckResult>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
427
+ static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<HealthCheckResult>, tags?: IEnumerable_1<System_Internal.String> | null, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
427
428
  static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_1<HealthCheckResult>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
428
- static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, HealthCheckResult>, tags?: IEnumerable_1<System_Internal.String>, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
429
- static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, HealthCheckResult>, tags: IEnumerable_1<System_Internal.String>): IHealthChecksBuilder;
429
+ static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, HealthCheckResult>, tags?: IEnumerable_1<System_Internal.String> | null, timeout?: Nullable_1<TimeSpan>): IHealthChecksBuilder;
430
+ static AddCheck(builder: IHealthChecksBuilder, name: string, check: Func_2<CancellationToken, HealthCheckResult>, tags: IEnumerable_1<System_Internal.String> | null): IHealthChecksBuilder;
430
431
  }
431
432
 
432
433
 
@@ -464,7 +465,7 @@ export abstract class HttpClientBuilderExtensions$instance {
464
465
  static RemoveAsKeyed(builder: IHttpClientBuilder): IHttpClientBuilder;
465
466
  static SetHandlerLifetime(builder: IHttpClientBuilder, handlerLifetime: TimeSpan): IHttpClientBuilder;
466
467
  static UseSocketsHttpHandler(builder: IHttpClientBuilder, configureBuilder: Action_1<ISocketsHttpHandlerBuilder>): IHttpClientBuilder;
467
- static UseSocketsHttpHandler(builder: IHttpClientBuilder, configureHandler?: Action_2<SocketsHttpHandler, IServiceProvider>): IHttpClientBuilder;
468
+ static UseSocketsHttpHandler(builder: IHttpClientBuilder, configureHandler?: Action_2<SocketsHttpHandler, IServiceProvider> | null): IHttpClientBuilder;
468
469
  }
469
470
 
470
471
 
@@ -489,7 +490,7 @@ export abstract class HttpClientFactoryServiceCollectionExtensions$instance {
489
490
  export type HttpClientFactoryServiceCollectionExtensions = HttpClientFactoryServiceCollectionExtensions$instance;
490
491
 
491
492
  export abstract class KeyedService$instance {
492
- static readonly AnyKey: unknown;
493
+ static readonly AnyKey: JsValue;
493
494
  }
494
495
 
495
496
 
@@ -530,9 +531,9 @@ export abstract class MetricsServiceExtensions$instance {
530
531
  export type MetricsServiceExtensions = MetricsServiceExtensions$instance;
531
532
 
532
533
  export abstract class OptionsBuilderConfigurationExtensions$instance {
533
- static Bind<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, config: IConfiguration, configureBinder: Action_1<BinderOptions>): OptionsBuilder_1<TOptions>;
534
+ static Bind<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, config: IConfiguration, configureBinder: Action_1<BinderOptions> | null): OptionsBuilder_1<TOptions>;
534
535
  static Bind<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, config: IConfiguration): OptionsBuilder_1<TOptions>;
535
- static BindConfiguration<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, configSectionPath: string, configureBinder?: Action_1<BinderOptions>): OptionsBuilder_1<TOptions>;
536
+ static BindConfiguration<TOptions>(optionsBuilder: OptionsBuilder_1<TOptions>, configSectionPath: string, configureBinder?: Action_1<BinderOptions> | null): OptionsBuilder_1<TOptions>;
536
537
  }
537
538
 
538
539
 
@@ -553,28 +554,28 @@ export abstract class OptionsBuilderExtensions$instance {
553
554
  export type OptionsBuilderExtensions = OptionsBuilderExtensions$instance;
554
555
 
555
556
  export abstract class OptionsConfigurationServiceCollectionExtensions$instance {
556
- static Configure<TOptions>(services: IServiceCollection, config: IConfiguration, configureBinder: Action_1<BinderOptions>): IServiceCollection;
557
+ static Configure<TOptions>(services: IServiceCollection, config: IConfiguration, configureBinder: Action_1<BinderOptions> | null): IServiceCollection;
557
558
  static Configure<TOptions>(services: IServiceCollection, config: IConfiguration): IServiceCollection;
558
- static Configure<TOptions>(services: IServiceCollection, name: string, config: IConfiguration, configureBinder: Action_1<BinderOptions>): IServiceCollection;
559
- static Configure<TOptions>(services: IServiceCollection, name: string, config: IConfiguration): IServiceCollection;
559
+ static Configure<TOptions>(services: IServiceCollection, name: string | null, config: IConfiguration, configureBinder: Action_1<BinderOptions> | null): IServiceCollection;
560
+ static Configure<TOptions>(services: IServiceCollection, name: string | null, config: IConfiguration): IServiceCollection;
560
561
  }
561
562
 
562
563
 
563
564
  export type OptionsConfigurationServiceCollectionExtensions = OptionsConfigurationServiceCollectionExtensions$instance;
564
565
 
565
566
  export abstract class OptionsServiceCollectionExtensions$instance {
566
- static AddOptions<TOptions>(services: IServiceCollection, name: string): OptionsBuilder_1<TOptions>;
567
+ static AddOptions<TOptions>(services: IServiceCollection, name: string | null): OptionsBuilder_1<TOptions>;
567
568
  static AddOptions(services: IServiceCollection): IServiceCollection;
568
569
  static AddOptions<TOptions>(services: IServiceCollection): OptionsBuilder_1<TOptions>;
569
- static AddOptionsWithValidateOnStart<TOptions>(services: IServiceCollection, name?: string): OptionsBuilder_1<TOptions>;
570
+ static AddOptionsWithValidateOnStart<TOptions>(services: IServiceCollection, name?: string | null): OptionsBuilder_1<TOptions>;
570
571
  static Configure<TOptions>(services: IServiceCollection, configureOptions: Action_1<TOptions>): IServiceCollection;
571
- static Configure<TOptions>(services: IServiceCollection, name: string, configureOptions: Action_1<TOptions>): IServiceCollection;
572
+ static Configure<TOptions>(services: IServiceCollection, name: string | null, configureOptions: Action_1<TOptions>): IServiceCollection;
572
573
  static ConfigureAll<TOptions>(services: IServiceCollection, configureOptions: Action_1<TOptions>): IServiceCollection;
573
- static ConfigureOptions(services: IServiceCollection, configureInstance: unknown): IServiceCollection;
574
+ static ConfigureOptions(services: IServiceCollection, configureInstance: JsValue): IServiceCollection;
574
575
  static ConfigureOptions(services: IServiceCollection, configureType: Type): IServiceCollection;
575
576
  static ConfigureOptions<TConfigureOptions>(services: IServiceCollection): IServiceCollection;
576
577
  static PostConfigure<TOptions>(services: IServiceCollection, configureOptions: Action_1<TOptions>): IServiceCollection;
577
- static PostConfigure<TOptions>(services: IServiceCollection, name: string, configureOptions: Action_1<TOptions>): IServiceCollection;
578
+ static PostConfigure<TOptions>(services: IServiceCollection, name: string | null, configureOptions: Action_1<TOptions>): IServiceCollection;
578
579
  static PostConfigureAll<TOptions>(services: IServiceCollection, configureOptions: Action_1<TOptions>): IServiceCollection;
579
580
  }
580
581
 
@@ -599,37 +600,37 @@ export abstract class ServiceCollectionHostedServiceExtensions$instance {
599
600
  export type ServiceCollectionHostedServiceExtensions = ServiceCollectionHostedServiceExtensions$instance;
600
601
 
601
602
  export abstract class ServiceCollectionServiceExtensions$instance {
602
- static AddKeyedScoped<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): IServiceCollection;
603
- static AddKeyedScoped<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
604
- static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): IServiceCollection;
605
- static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
606
- static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
607
- static AddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): IServiceCollection;
608
- static AddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: unknown, implementationInstance: TService): IServiceCollection;
609
- static AddKeyedSingleton<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
610
- static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): IServiceCollection;
611
- static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationInstance: unknown): IServiceCollection;
612
- static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
613
- static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
614
- static AddKeyedTransient<TService>(services: IServiceCollection, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, TService>): IServiceCollection;
615
- static AddKeyedTransient<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: unknown): IServiceCollection;
616
- static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationFactory: Func_3<IServiceProvider, unknown, unknown>): IServiceCollection;
617
- static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown, implementationType: Type): IServiceCollection;
618
- static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: unknown): IServiceCollection;
603
+ static AddKeyedScoped<TService>(services: IServiceCollection, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, TService>): IServiceCollection;
604
+ static AddKeyedScoped<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: JsValue | null): IServiceCollection;
605
+ static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, JsValue>): IServiceCollection;
606
+ static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: JsValue | null, implementationType: Type): IServiceCollection;
607
+ static AddKeyedScoped(services: IServiceCollection, serviceType: Type, serviceKey: JsValue | null): IServiceCollection;
608
+ static AddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, TService>): IServiceCollection;
609
+ static AddKeyedSingleton<TService>(services: IServiceCollection, serviceKey: JsValue | null, implementationInstance: TService): IServiceCollection;
610
+ static AddKeyedSingleton<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: JsValue | null): IServiceCollection;
611
+ static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, JsValue>): IServiceCollection;
612
+ static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: JsValue | null, implementationInstance: JsValue): IServiceCollection;
613
+ static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: JsValue | null, implementationType: Type): IServiceCollection;
614
+ static AddKeyedSingleton(services: IServiceCollection, serviceType: Type, serviceKey: JsValue | null): IServiceCollection;
615
+ static AddKeyedTransient<TService>(services: IServiceCollection, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, TService>): IServiceCollection;
616
+ static AddKeyedTransient<TService, TImplementation extends TService>(services: IServiceCollection, serviceKey: JsValue | null): IServiceCollection;
617
+ static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: JsValue | null, implementationFactory: Func_3<IServiceProvider, JsValue | null, JsValue>): IServiceCollection;
618
+ static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: JsValue | null, implementationType: Type): IServiceCollection;
619
+ static AddKeyedTransient(services: IServiceCollection, serviceType: Type, serviceKey: JsValue | null): IServiceCollection;
619
620
  static AddScoped<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): IServiceCollection;
620
- static AddScoped(services: IServiceCollection, serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>): IServiceCollection;
621
+ static AddScoped(services: IServiceCollection, serviceType: Type, implementationFactory: Func_2<IServiceProvider, JsValue>): IServiceCollection;
621
622
  static AddScoped(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
622
623
  static AddScoped(services: IServiceCollection, serviceType: Type): IServiceCollection;
623
624
  static AddScoped<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
624
625
  static AddSingleton<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): IServiceCollection;
625
- static AddSingleton(services: IServiceCollection, serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>): IServiceCollection;
626
- static AddSingleton(services: IServiceCollection, serviceType: Type, implementationInstance: unknown): IServiceCollection;
626
+ static AddSingleton(services: IServiceCollection, serviceType: Type, implementationFactory: Func_2<IServiceProvider, JsValue>): IServiceCollection;
627
+ static AddSingleton(services: IServiceCollection, serviceType: Type, implementationInstance: JsValue): IServiceCollection;
627
628
  static AddSingleton(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
628
629
  static AddSingleton(services: IServiceCollection, serviceType: Type): IServiceCollection;
629
630
  static AddSingleton<TService>(services: IServiceCollection, implementationInstance: TService): IServiceCollection;
630
631
  static AddSingleton<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
631
632
  static AddTransient<TService>(services: IServiceCollection, implementationFactory: Func_2<IServiceProvider, TService>): IServiceCollection;
632
- static AddTransient(services: IServiceCollection, serviceType: Type, implementationFactory: Func_2<IServiceProvider, unknown>): IServiceCollection;
633
+ static AddTransient(services: IServiceCollection, serviceType: Type, implementationFactory: Func_2<IServiceProvider, JsValue>): IServiceCollection;
633
634
  static AddTransient(services: IServiceCollection, serviceType: Type, implementationType: Type): IServiceCollection;
634
635
  static AddTransient(services: IServiceCollection, serviceType: Type): IServiceCollection;
635
636
  static AddTransient<TService, TImplementation extends TService>(services: IServiceCollection): IServiceCollection;
@@ -639,12 +640,12 @@ export abstract class ServiceCollectionServiceExtensions$instance {
639
640
  export type ServiceCollectionServiceExtensions = ServiceCollectionServiceExtensions$instance;
640
641
 
641
642
  export abstract class ServiceProviderKeyedServiceExtensions$instance {
642
- static GetKeyedService<T>(provider: IServiceProvider, serviceKey: unknown): T | undefined;
643
- static GetKeyedService(provider: IServiceProvider, serviceType: Type, serviceKey: unknown): unknown | undefined;
644
- static GetKeyedServices<T>(provider: IServiceProvider, serviceKey: unknown): IEnumerable_1<T>;
645
- static GetKeyedServices(provider: IServiceProvider, serviceType: Type, serviceKey: unknown): IEnumerable_1<unknown | undefined>;
646
- static GetRequiredKeyedService<T>(provider: IServiceProvider, serviceKey: unknown): T;
647
- static GetRequiredKeyedService(provider: IServiceProvider, serviceType: Type, serviceKey: unknown): unknown;
643
+ static GetKeyedService<T>(provider: IServiceProvider, serviceKey: JsValue | null): T | null;
644
+ static GetKeyedService(provider: IServiceProvider, serviceType: Type, serviceKey: JsValue | null): JsValue | null;
645
+ static GetKeyedServices<T>(provider: IServiceProvider, serviceKey: JsValue | null): IEnumerable_1<T>;
646
+ static GetKeyedServices(provider: IServiceProvider, serviceType: Type, serviceKey: JsValue | null): IEnumerable_1<JsValue | null>;
647
+ static GetRequiredKeyedService<T>(provider: IServiceProvider, serviceKey: JsValue | null): T;
648
+ static GetRequiredKeyedService(provider: IServiceProvider, serviceType: Type, serviceKey: JsValue | null): JsValue;
648
649
  }
649
650
 
650
651
 
@@ -654,10 +655,10 @@ export abstract class ServiceProviderServiceExtensions$instance {
654
655
  static CreateAsyncScope(serviceScopeFactory: IServiceScopeFactory): AsyncServiceScope;
655
656
  static CreateAsyncScope(provider: IServiceProvider): AsyncServiceScope;
656
657
  static CreateScope(provider: IServiceProvider): IServiceScope;
657
- static GetRequiredService(provider: IServiceProvider, serviceType: Type): unknown;
658
+ static GetRequiredService(provider: IServiceProvider, serviceType: Type): JsValue;
658
659
  static GetRequiredService<T>(provider: IServiceProvider): T;
659
- static GetService<T>(provider: IServiceProvider): T | undefined;
660
- static GetServices(provider: IServiceProvider, serviceType: Type): IEnumerable_1<unknown | undefined>;
660
+ static GetService<T>(provider: IServiceProvider): T | null;
661
+ static GetServices(provider: IServiceProvider, serviceType: Type): IEnumerable_1<JsValue | null>;
661
662
  static GetServices<T>(provider: IServiceProvider): IEnumerable_1<T>;
662
663
  }
663
664
 
@@ -673,7 +674,7 @@ export abstract class SocketsHttpHandlerBuilderExtensions$instance {
673
674
  export type SocketsHttpHandlerBuilderExtensions = SocketsHttpHandlerBuilderExtensions$instance;
674
675
 
675
676
  export abstract class ValidationServiceCollectionExtensions$instance {
676
- static AddValidation(services: IServiceCollection, configureOptions?: Action_1<ValidationOptions>): IServiceCollection;
677
+ static AddValidation(services: IServiceCollection, configureOptions?: Action_1<ValidationOptions> | null): IServiceCollection;
677
678
  }
678
679
 
679
680