@tsonic/aspnetcore 10.0.5 → 10.0.6

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 (161) hide show
  1. package/Microsoft.AspNetCore/internal/index.d.ts +6 -6
  2. package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +15 -9
  3. package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +183 -113
  4. package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +13 -5
  5. package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +52 -34
  6. package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +42 -28
  7. package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +25 -11
  8. package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +97 -75
  9. package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +33 -31
  10. package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +15 -13
  11. package/Microsoft.AspNetCore.Builder/internal/index.d.ts +183 -139
  12. package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +15 -5
  13. package/Microsoft.AspNetCore.Components/internal/index.d.ts +287 -189
  14. package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +29 -17
  15. package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +8 -8
  16. package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +11 -5
  17. package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +6 -4
  18. package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +131 -105
  19. package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +13 -9
  20. package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +7 -5
  21. package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +9 -7
  22. package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +35 -13
  23. package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +12 -8
  24. package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +30 -22
  25. package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +9 -9
  26. package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +26 -22
  27. package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +11 -5
  28. package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +13 -5
  29. package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +75 -37
  30. package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +6 -4
  31. package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +5 -3
  32. package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +1 -1
  33. package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +21 -15
  34. package/Microsoft.AspNetCore.Connections/internal/index.d.ts +77 -49
  35. package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +4 -4
  36. package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +20 -20
  37. package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +13 -7
  38. package/Microsoft.AspNetCore.Cors/internal/index.d.ts +10 -8
  39. package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +39 -29
  40. package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +2 -2
  41. package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +24 -20
  42. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +16 -16
  43. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +39 -27
  44. package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +1 -1
  45. package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +1 -1
  46. package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +21 -19
  47. package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +9 -5
  48. package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +19 -15
  49. package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +34 -32
  50. package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +43 -21
  51. package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +15 -11
  52. package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +12 -8
  53. package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +57 -47
  54. package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +5 -5
  55. package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +6 -6
  56. package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +6 -4
  57. package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +8 -8
  58. package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +5 -3
  59. package/Microsoft.AspNetCore.Html/internal/index.d.ts +15 -13
  60. package/Microsoft.AspNetCore.Http/internal/index.d.ts +278 -204
  61. package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +32 -16
  62. package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +18 -16
  63. package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +97 -89
  64. package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +6 -6
  65. package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +31 -27
  66. package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +173 -171
  67. package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +5 -3
  68. package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +28 -26
  69. package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +16 -8
  70. package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +21 -11
  71. package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +23 -13
  72. package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +21 -13
  73. package/Microsoft.AspNetCore.Identity/internal/index.d.ts +572 -456
  74. package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +23 -3
  75. package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +6 -6
  76. package/Microsoft.AspNetCore.Localization/internal/index.d.ts +41 -27
  77. package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +5 -3
  78. package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +377 -205
  79. package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +21 -13
  80. package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +23 -13
  81. package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +54 -30
  82. package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +147 -125
  83. package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +45 -25
  84. package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +12 -10
  85. package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +32 -24
  86. package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +1 -1
  87. package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +7 -7
  88. package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +26 -18
  89. package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +172 -68
  90. package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +76 -44
  91. package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +121 -89
  92. package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +44 -36
  93. package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +92 -66
  94. package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +27 -25
  95. package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +211 -135
  96. package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +136 -128
  97. package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +126 -104
  98. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +71 -43
  99. package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +70 -56
  100. package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +15 -9
  101. package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +5 -3
  102. package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +4 -2
  103. package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +24 -18
  104. package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +60 -42
  105. package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +49 -37
  106. package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +107 -95
  107. package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +35 -25
  108. package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +88 -72
  109. package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +27 -23
  110. package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +58 -48
  111. package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +15 -11
  112. package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +189 -145
  113. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +5 -3
  114. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +7 -5
  115. package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +36 -26
  116. package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +20 -12
  117. package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +24 -10
  118. package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +17 -11
  119. package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +59 -31
  120. package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +7 -5
  121. package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +14 -10
  122. package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +41 -29
  123. package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +18 -12
  124. package/Microsoft.AspNetCore.Routing/internal/index.d.ts +187 -131
  125. package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +79 -79
  126. package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +5 -3
  127. package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +41 -25
  128. package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +38 -20
  129. package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +25 -9
  130. package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +27 -13
  131. package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +32 -18
  132. package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +8 -4
  133. package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +15 -11
  134. package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +16 -12
  135. package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +48 -36
  136. package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +3 -3
  137. package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +14 -8
  138. package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +23 -17
  139. package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +10 -6
  140. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +6 -4
  141. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +24 -18
  142. package/Microsoft.AspNetCore.Session/internal/index.d.ts +24 -22
  143. package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +139 -91
  144. package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +59 -25
  145. package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +19 -11
  146. package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +4 -4
  147. package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +30 -22
  148. package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -3
  149. package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +14 -10
  150. package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +103 -73
  151. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +125 -123
  152. package/Microsoft.Extensions.Hosting/internal/index.d.ts +10 -8
  153. package/Microsoft.JSInterop/internal/index.d.ts +65 -53
  154. package/Microsoft.JSInterop.Implementation/internal/index.d.ts +28 -26
  155. package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +8 -2
  156. package/Microsoft.Net.Http.Headers/internal/index.d.ts +88 -60
  157. package/System.Formats.Cbor/internal/index.d.ts +27 -21
  158. package/System.Security.Claims/internal/index.d.ts +3 -3
  159. package/System.Threading.RateLimiting/internal/index.d.ts +59 -29
  160. package/__internal/extensions/index.d.ts +1648 -1351
  161. package/package.json +4 -4
@@ -7,11 +7,13 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
7
7
 
8
8
  // Import types from other namespaces
9
9
  import type { IWebHostBuilder } from "../../Microsoft.AspNetCore.Hosting/internal/index.js";
10
- import * as System_Internal from "@tsonic/dotnet/System.js";
11
- import type { Action, Boolean as ClrBoolean, Object as ClrObject } from "@tsonic/dotnet/System.js";
12
- import type { IHostBuilder } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Hosting.js";
10
+ import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
11
+ import type { Action_1, Boolean as ClrBoolean, Object as ClrObject } from "@tsonic/dotnet/System/internal/index.js";
12
+ import type { IHostBuilder } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Hosting/internal/index.js";
13
13
 
14
14
  export interface WebHostBuilderOptions$instance {
15
+ readonly __tsonic_type_Microsoft_Extensions_Hosting_WebHostBuilderOptions: never;
16
+
15
17
  SuppressEnvironmentConfiguration: boolean;
16
18
  }
17
19
 
@@ -24,17 +26,17 @@ export const WebHostBuilderOptions: {
24
26
  export type WebHostBuilderOptions = WebHostBuilderOptions$instance;
25
27
 
26
28
  export abstract class GenericHostBuilderExtensions$instance {
27
- static ConfigureWebHostDefaults(builder: IHostBuilder, configure: Action<IWebHostBuilder>, configureOptions: Action<WebHostBuilderOptions>): IHostBuilder;
28
- static ConfigureWebHostDefaults(builder: IHostBuilder, configure: Action<IWebHostBuilder>): IHostBuilder;
29
+ static ConfigureWebHostDefaults(builder: IHostBuilder, configure: Action_1<IWebHostBuilder>, configureOptions: Action_1<WebHostBuilderOptions>): IHostBuilder;
30
+ static ConfigureWebHostDefaults(builder: IHostBuilder, configure: Action_1<IWebHostBuilder>): IHostBuilder;
29
31
  }
30
32
 
31
33
 
32
34
  export type GenericHostBuilderExtensions = GenericHostBuilderExtensions$instance;
33
35
 
34
36
  export abstract class GenericHostWebHostBuilderExtensions$instance {
35
- static ConfigureSlimWebHost(builder: IHostBuilder, configure: Action<IWebHostBuilder>, configureWebHostBuilder: Action<WebHostBuilderOptions>): IHostBuilder;
36
- static ConfigureWebHost(builder: IHostBuilder, configure: Action<IWebHostBuilder>, configureWebHostBuilder: Action<WebHostBuilderOptions>): IHostBuilder;
37
- static ConfigureWebHost(builder: IHostBuilder, configure: Action<IWebHostBuilder>): IHostBuilder;
37
+ static ConfigureSlimWebHost(builder: IHostBuilder, configure: Action_1<IWebHostBuilder>, configureWebHostBuilder: Action_1<WebHostBuilderOptions>): IHostBuilder;
38
+ static ConfigureWebHost(builder: IHostBuilder, configure: Action_1<IWebHostBuilder>, configureWebHostBuilder: Action_1<WebHostBuilderOptions>): IHostBuilder;
39
+ static ConfigureWebHost(builder: IHostBuilder, configure: Action_1<IWebHostBuilder>): IHostBuilder;
38
40
  }
39
41
 
40
42
 
@@ -10,14 +10,14 @@ import type { ptr } from "@tsonic/core/types.js";
10
10
 
11
11
  // Import types from other namespaces
12
12
  import type { DotNetInvocationInfo, DotNetInvocationResult, JSInvocationInfo } from "../../Microsoft.JSInterop.Infrastructure/internal/index.js";
13
- import type { Stream } from "@tsonic/dotnet/System.IO.js";
14
- import * as System_Internal from "@tsonic/dotnet/System.js";
15
- import type { Attribute, Boolean as ClrBoolean, Byte, Enum, Exception, IAsyncDisposable, IComparable, IConvertible, IDisposable, IFormattable, Int32, Int64, ISpanFormattable, Nullable, Object as ClrObject, String as ClrString, TimeSpan, Void } from "@tsonic/dotnet/System.js";
16
- import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization.js";
17
- import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization.js";
18
- import type { JsonSerializerOptions } from "@tsonic/dotnet/System.Text.Json.js";
19
- import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
20
- import type { Task, ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
13
+ import type { Stream } from "@tsonic/dotnet/System.IO/internal/index.js";
14
+ import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
15
+ import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
16
+ import type { JsonSerializerOptions } from "@tsonic/dotnet/System.Text.Json/internal/index.js";
17
+ import type { Task, Task_1, ValueTask, ValueTask_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
18
+ import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
19
+ import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
20
+ import type { Attribute, Boolean as ClrBoolean, Byte, Enum, Exception, IAsyncDisposable, IComparable, IConvertible, IDisposable, IFormattable, Int32, Int64, ISpanFormattable, Nullable_1, Object as ClrObject, String as ClrString, TimeSpan, Void } from "@tsonic/dotnet/System/internal/index.js";
21
21
 
22
22
  export enum JSCallResultType {
23
23
  Default = 0,
@@ -31,11 +31,11 @@ export interface IJSInProcessObjectReference$instance extends IJSObjectReference
31
31
  readonly __tsonic_iface_Microsoft_JSInterop_IJSInProcessObjectReference: never;
32
32
 
33
33
  GetValue<TValue>(identifier: string): TValue;
34
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask<TValue>;
35
- GetValueAsync<TValue>(identifier: string): ValueTask<TValue>;
34
+ GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
35
+ GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
36
36
  Invoke<TValue>(identifier: string, ...args: unknown[]): TValue;
37
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask<TValue>;
38
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask<TValue>;
37
+ InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
38
+ InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
39
39
  InvokeConstructor(identifier: string, args: unknown[]): IJSInProcessObjectReference;
40
40
  SetValue<TValue>(identifier: string, value: TValue): void;
41
41
  SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
@@ -51,11 +51,11 @@ export interface IJSInProcessRuntime$instance {
51
51
  readonly __tsonic_iface_Microsoft_JSInterop_IJSInProcessRuntime: never;
52
52
 
53
53
  GetValue<TValue>(identifier: string): TValue;
54
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask<TValue>;
55
- GetValueAsync<TValue>(identifier: string): ValueTask<TValue>;
54
+ GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
55
+ GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
56
56
  Invoke<TResult>(identifier: string, ...args: unknown[]): TResult;
57
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask<TValue>;
58
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask<TValue>;
57
+ InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
58
+ InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
59
59
  InvokeConstructor(identifier: string, ...args: unknown[]): IJSInProcessObjectReference;
60
60
  SetValue<TValue>(identifier: string, value: TValue): void;
61
61
  SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
@@ -68,10 +68,10 @@ export type IJSInProcessRuntime = IJSInProcessRuntime$instance;
68
68
  export interface IJSObjectReference$instance extends IAsyncDisposable {
69
69
  readonly __tsonic_iface_Microsoft_JSInterop_IJSObjectReference: never;
70
70
 
71
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask<TValue>;
72
- GetValueAsync<TValue>(identifier: string): ValueTask<TValue>;
73
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask<TValue>;
74
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask<TValue>;
71
+ GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
72
+ GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
73
+ InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
74
+ InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
75
75
  SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
76
76
  SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
77
77
  }
@@ -84,10 +84,10 @@ export type IJSObjectReference = IJSObjectReference$instance;
84
84
  export interface IJSRuntime$instance {
85
85
  readonly __tsonic_iface_Microsoft_JSInterop_IJSRuntime: never;
86
86
 
87
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask<TValue>;
88
- GetValueAsync<TValue>(identifier: string): ValueTask<TValue>;
89
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask<TValue>;
90
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask<TValue>;
87
+ GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
88
+ GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
89
+ InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
90
+ InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
91
91
  SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
92
92
  SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
93
93
  }
@@ -99,7 +99,7 @@ export interface IJSStreamReference$instance extends IAsyncDisposable {
99
99
  readonly __tsonic_iface_Microsoft_JSInterop_IJSStreamReference: never;
100
100
 
101
101
  readonly Length: long;
102
- OpenReadStreamAsync(maxAllowedSize?: long, cancellationToken?: CancellationToken): ValueTask<Stream>;
102
+ OpenReadStreamAsync(maxAllowedSize?: long, cancellationToken?: CancellationToken): ValueTask_1<Stream>;
103
103
  }
104
104
 
105
105
 
@@ -108,6 +108,8 @@ export interface IJSStreamReference$instance extends System_Internal.IAsyncDispo
108
108
  export type IJSStreamReference = IJSStreamReference$instance;
109
109
 
110
110
  export interface DotNetObjectReference_1$instance<TValue> {
111
+ readonly __tsonic_type_Microsoft_JSInterop_DotNetObjectReference_1: never;
112
+
111
113
  readonly __tsonic_iface_Microsoft_JSInterop_Infrastructure_IDotNetObjectReference: never;
112
114
  readonly __tsonic_iface_System_IDisposable: never;
113
115
 
@@ -123,6 +125,8 @@ export const DotNetObjectReference_1: {
123
125
  export type DotNetObjectReference_1<TValue> = DotNetObjectReference_1$instance<TValue>;
124
126
 
125
127
  export interface DotNetStreamReference$instance {
128
+ readonly __tsonic_type_Microsoft_JSInterop_DotNetStreamReference: never;
129
+
126
130
  readonly __tsonic_iface_System_IDisposable: never;
127
131
 
128
132
  readonly LeaveOpen: boolean;
@@ -139,6 +143,8 @@ export const DotNetStreamReference: {
139
143
  export type DotNetStreamReference = DotNetStreamReference$instance;
140
144
 
141
145
  export interface JSDisconnectedException$instance extends Exception {
146
+ readonly __tsonic_type_Microsoft_JSInterop_JSDisconnectedException: never;
147
+
142
148
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
143
149
 
144
150
  }
@@ -152,6 +158,8 @@ export const JSDisconnectedException: {
152
158
  export type JSDisconnectedException = JSDisconnectedException$instance;
153
159
 
154
160
  export interface JSException$instance extends Exception {
161
+ readonly __tsonic_type_Microsoft_JSInterop_JSException: never;
162
+
155
163
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
156
164
 
157
165
  }
@@ -165,17 +173,19 @@ export const JSException: {
165
173
 
166
174
  export type JSException = JSException$instance;
167
175
 
168
- export interface JSInProcessRuntime$instance extends JSRuntime {
176
+ export interface JSInProcessRuntime$instance extends JSRuntime, System_Internal.IDisposable {
177
+ readonly __tsonic_type_Microsoft_JSInterop_JSInProcessRuntime: never;
178
+
169
179
  readonly __tsonic_iface_Microsoft_JSInterop_IJSInProcessRuntime: never;
170
180
  readonly __tsonic_iface_Microsoft_JSInterop_IJSRuntime: never;
171
181
  readonly __tsonic_iface_System_IDisposable: never;
172
182
 
173
183
  GetValue<TValue>(identifier: string): TValue;
174
- GetValueAsync<TValue>(identifier: string): ValueTask<TValue>;
175
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask<TValue>;
184
+ GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
185
+ GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
176
186
  Invoke<TValue>(identifier: string, ...args: unknown[]): TValue;
177
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask<TValue>;
178
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask<TValue>;
187
+ InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
188
+ InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
179
189
  InvokeConstructor(identifier: string, ...args: unknown[]): IJSInProcessObjectReference;
180
190
  InvokeJS(identifier: string, argsJson: string): string | undefined;
181
191
  InvokeJS(identifier: string, argsJson: string, resultType: JSCallResultType, targetInstanceId: long): string | undefined;
@@ -195,12 +205,12 @@ export interface __JSInProcessRuntime$views {
195
205
  As_IJSRuntime(): IJSRuntime$instance;
196
206
  }
197
207
 
198
- export interface JSInProcessRuntime$instance extends System_Internal.IDisposable {}
199
-
200
208
  export type JSInProcessRuntime = JSInProcessRuntime$instance & __JSInProcessRuntime$views;
201
209
 
202
210
 
203
211
  export interface JSInvokableAttribute$instance extends Attribute {
212
+ readonly __tsonic_type_Microsoft_JSInterop_JSInvokableAttribute: never;
213
+
204
214
  readonly Identifier: string | undefined;
205
215
  }
206
216
 
@@ -214,6 +224,8 @@ export const JSInvokableAttribute: {
214
224
  export type JSInvokableAttribute = JSInvokableAttribute$instance;
215
225
 
216
226
  export interface JSRuntime$instance {
227
+ readonly __tsonic_type_Microsoft_JSInterop_JSRuntime: never;
228
+
217
229
  readonly __tsonic_iface_System_IDisposable: never;
218
230
 
219
231
  BeginInvokeJS(taskId: long, identifier: string, argsJson: string): void;
@@ -221,13 +233,13 @@ export interface JSRuntime$instance {
221
233
  BeginInvokeJS(invocationInfo: JSInvocationInfo): void;
222
234
  Dispose(): void;
223
235
  EndInvokeDotNet(invocationInfo: DotNetInvocationInfo, invocationResult: DotNetInvocationResult): void;
224
- GetValueAsync<TValue>(identifier: string): ValueTask<TValue>;
225
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask<TValue>;
226
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask<TValue>;
227
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask<TValue>;
228
- InvokeConstructorAsync(identifier: string, args: unknown[]): ValueTask<IJSObjectReference>;
229
- InvokeConstructorAsync(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask<IJSObjectReference>;
230
- ReadJSDataAsStreamAsync(jsStreamReference: IJSStreamReference, totalLength: long, cancellationToken?: CancellationToken): Task<Stream>;
236
+ GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
237
+ GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
238
+ InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
239
+ InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
240
+ InvokeConstructorAsync(identifier: string, args: unknown[]): ValueTask_1<IJSObjectReference>;
241
+ InvokeConstructorAsync(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<IJSObjectReference>;
242
+ ReadJSDataAsStreamAsync(jsStreamReference: IJSStreamReference, totalLength: long, cancellationToken?: CancellationToken): Task_1<Stream>;
231
243
  ReceiveByteArray(id: int, data: byte[]): void;
232
244
  SendByteArray(id: int, data: byte[]): void;
233
245
  SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
@@ -264,13 +276,13 @@ export abstract class JSInProcessRuntimeExtensions$instance {
264
276
  export type JSInProcessRuntimeExtensions = JSInProcessRuntimeExtensions$instance;
265
277
 
266
278
  export abstract class JSObjectReferenceExtensions$instance {
267
- static GetValueAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan): ValueTask<TValue>;
268
- static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, ...args: unknown[]): ValueTask<TValue>;
269
- static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask<TValue>;
270
- static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask<TValue>;
271
- static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, ...args: unknown[]): ValueTask<IJSObjectReference>;
272
- static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask<IJSObjectReference>;
273
- static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, args: unknown[]): ValueTask<IJSObjectReference>;
279
+ static GetValueAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan): ValueTask_1<TValue>;
280
+ static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, ...args: unknown[]): ValueTask_1<TValue>;
281
+ static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask_1<TValue>;
282
+ static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask_1<TValue>;
283
+ static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, ...args: unknown[]): ValueTask_1<IJSObjectReference>;
284
+ static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<IJSObjectReference>;
285
+ static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, args: unknown[]): ValueTask_1<IJSObjectReference>;
274
286
  static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, ...args: unknown[]): ValueTask;
275
287
  static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask;
276
288
  static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask;
@@ -281,13 +293,13 @@ export abstract class JSObjectReferenceExtensions$instance {
281
293
  export type JSObjectReferenceExtensions = JSObjectReferenceExtensions$instance;
282
294
 
283
295
  export abstract class JSRuntimeExtensions$instance {
284
- static GetValueAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan): ValueTask<TValue>;
285
- static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, ...args: unknown[]): ValueTask<TValue>;
286
- static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask<TValue>;
287
- static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask<TValue>;
288
- static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, ...args: unknown[]): ValueTask<IJSObjectReference>;
289
- static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask<IJSObjectReference>;
290
- static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, args: unknown[]): ValueTask<IJSObjectReference>;
296
+ static GetValueAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan): ValueTask_1<TValue>;
297
+ static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, ...args: unknown[]): ValueTask_1<TValue>;
298
+ static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask_1<TValue>;
299
+ static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask_1<TValue>;
300
+ static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, ...args: unknown[]): ValueTask_1<IJSObjectReference>;
301
+ static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<IJSObjectReference>;
302
+ static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, args: unknown[]): ValueTask_1<IJSObjectReference>;
291
303
  static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, ...args: unknown[]): ValueTask;
292
304
  static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask;
293
305
  static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask;
@@ -11,14 +11,16 @@ import type { ptr } from "@tsonic/core/types.js";
11
11
  // Import types from other namespaces
12
12
  import * as Microsoft_JSInterop_Internal from "../../Microsoft.JSInterop/internal/index.js";
13
13
  import type { IJSInProcessObjectReference, IJSObjectReference, IJSStreamReference, JSInProcessRuntime, JSRuntime } from "../../Microsoft.JSInterop/internal/index.js";
14
- import type { Stream } from "@tsonic/dotnet/System.IO.js";
15
- import * as System_Internal from "@tsonic/dotnet/System.js";
16
- import type { IAsyncDisposable, IDisposable, Int64, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System.js";
17
- import type { Utf8JsonReader, Utf8JsonWriter } from "@tsonic/dotnet/System.Text.Json.js";
18
- import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
19
- import type { ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
14
+ import type { Stream } from "@tsonic/dotnet/System.IO/internal/index.js";
15
+ import type { Utf8JsonReader, Utf8JsonWriter } from "@tsonic/dotnet/System.Text.Json/internal/index.js";
16
+ import type { ValueTask, ValueTask_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
17
+ import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
18
+ import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
19
+ import type { IAsyncDisposable, IDisposable, Int64, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
20
20
 
21
21
  export interface JSInProcessObjectReference$instance extends JSObjectReference$instance {
22
+ readonly __tsonic_type_Microsoft_JSInterop_Implementation_JSInProcessObjectReference: never;
23
+
22
24
  readonly __tsonic_iface_Microsoft_JSInterop_IJSInProcessObjectReference: never;
23
25
  readonly __tsonic_iface_Microsoft_JSInterop_IJSObjectReference: never;
24
26
  readonly __tsonic_iface_System_IAsyncDisposable: never;
@@ -26,11 +28,11 @@ export interface JSInProcessObjectReference$instance extends JSObjectReference$i
26
28
 
27
29
  Dispose(): void;
28
30
  GetValue<TValue>(identifier: string): TValue;
29
- GetValueAsync<TValue>(identifier: string): ValueTask<TValue>;
30
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask<TValue>;
31
+ GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
32
+ GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
31
33
  Invoke<TValue>(identifier: string, ...args: unknown[]): TValue;
32
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask<TValue>;
33
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask<TValue>;
34
+ InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
35
+ InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
34
36
  InvokeConstructor(identifier: string, args: unknown[]): IJSInProcessObjectReference;
35
37
  SetValue<TValue>(identifier: string, value: TValue): void;
36
38
  SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
@@ -50,17 +52,19 @@ export interface __JSInProcessObjectReference$views {
50
52
  export type JSInProcessObjectReference = JSInProcessObjectReference$instance & __JSInProcessObjectReference$views;
51
53
 
52
54
 
53
- export interface JSObjectReference$instance {
55
+ export interface JSObjectReference$instance extends Microsoft_JSInterop_Internal.IJSObjectReference$instance {
56
+ readonly __tsonic_type_Microsoft_JSInterop_Implementation_JSObjectReference: never;
57
+
54
58
  readonly __tsonic_iface_Microsoft_JSInterop_IJSObjectReference: never;
55
59
  readonly __tsonic_iface_System_IAsyncDisposable: never;
56
60
 
57
61
  DisposeAsync(): ValueTask;
58
- GetValueAsync<TValue>(identifier: string): ValueTask<TValue>;
59
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask<TValue>;
60
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask<TValue>;
61
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask<TValue>;
62
- InvokeConstructorAsync(identifier: string, args: unknown[]): ValueTask<IJSObjectReference>;
63
- InvokeConstructorAsync(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask<IJSObjectReference>;
62
+ GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
63
+ GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
64
+ InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
65
+ InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
66
+ InvokeConstructorAsync(identifier: string, args: unknown[]): ValueTask_1<IJSObjectReference>;
67
+ InvokeConstructorAsync(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<IJSObjectReference>;
64
68
  SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
65
69
  SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
66
70
  }
@@ -74,21 +78,21 @@ export interface __JSObjectReference$views {
74
78
  As_IJSObjectReference(): Microsoft_JSInterop_Internal.IJSObjectReference$instance;
75
79
  }
76
80
 
77
- export interface JSObjectReference$instance extends Microsoft_JSInterop_Internal.IJSObjectReference$instance {}
78
-
79
81
  export type JSObjectReference = JSObjectReference$instance & __JSObjectReference$views;
80
82
 
81
83
 
82
- export interface JSStreamReference$instance extends JSObjectReference$instance {
84
+ export interface JSStreamReference$instance extends JSObjectReference$instance, Microsoft_JSInterop_Internal.IJSStreamReference$instance {
85
+ readonly __tsonic_type_Microsoft_JSInterop_Implementation_JSStreamReference: never;
86
+
83
87
  readonly __tsonic_iface_Microsoft_JSInterop_IJSObjectReference: never;
84
88
  readonly __tsonic_iface_Microsoft_JSInterop_IJSStreamReference: never;
85
89
  readonly __tsonic_iface_System_IAsyncDisposable: never;
86
90
 
87
91
  readonly Length: long;
88
- GetValueAsync<TValue>(identifier: string): ValueTask<TValue>;
89
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask<TValue>;
90
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask<TValue>;
91
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask<TValue>;
92
+ GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
93
+ GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
94
+ InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
95
+ InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
92
96
  SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
93
97
  SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
94
98
  }
@@ -103,8 +107,6 @@ export interface __JSStreamReference$views {
103
107
  As_IJSStreamReference(): Microsoft_JSInterop_Internal.IJSStreamReference$instance;
104
108
  }
105
109
 
106
- export interface JSStreamReference$instance extends Microsoft_JSInterop_Internal.IJSStreamReference$instance {}
107
-
108
110
  export type JSStreamReference = JSStreamReference$instance & __JSStreamReference$views;
109
111
 
110
112
 
@@ -10,8 +10,8 @@ import type { ptr } from "@tsonic/core/types.js";
10
10
 
11
11
  // Import types from other namespaces
12
12
  import type { JSCallResultType, JSRuntime } from "../../Microsoft.JSInterop/internal/index.js";
13
- import * as System_Internal from "@tsonic/dotnet/System.js";
14
- import type { Boolean as ClrBoolean, Byte, Enum, Exception, IComparable, IConvertible, IFormattable, Int32, Int64, ISpanFormattable, Object as ClrObject, String as ClrString, ValueType, Void } from "@tsonic/dotnet/System.js";
13
+ import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
14
+ import type { Boolean as ClrBoolean, Byte, Enum, Exception, IComparable, IConvertible, IFormattable, Int32, Int64, ISpanFormattable, Object as ClrObject, String as ClrString, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
15
15
 
16
16
  export enum JSCallType {
17
17
  FunctionCall = 1,
@@ -30,6 +30,8 @@ export interface IJSVoidResult$instance {
30
30
  export type IJSVoidResult = IJSVoidResult$instance;
31
31
 
32
32
  export interface DotNetInvocationInfo$instance {
33
+ readonly __tsonic_type_Microsoft_JSInterop_Infrastructure_DotNetInvocationInfo: never;
34
+
33
35
  readonly AssemblyName: string | undefined;
34
36
  readonly CallId: string | undefined;
35
37
  readonly DotNetObjectId: long;
@@ -45,6 +47,8 @@ export const DotNetInvocationInfo: {
45
47
  export type DotNetInvocationInfo = DotNetInvocationInfo$instance;
46
48
 
47
49
  export interface DotNetInvocationResult$instance {
50
+ readonly __tsonic_type_Microsoft_JSInterop_Infrastructure_DotNetInvocationResult: never;
51
+
48
52
  readonly ErrorKind: string | undefined;
49
53
  readonly Exception: Exception | undefined;
50
54
  readonly ResultJson: string | undefined;
@@ -60,6 +64,8 @@ export const DotNetInvocationResult: {
60
64
  export type DotNetInvocationResult = DotNetInvocationResult$instance;
61
65
 
62
66
  export interface JSInvocationInfo$instance {
67
+ readonly __tsonic_type_Microsoft_JSInterop_Infrastructure_JSInvocationInfo: never;
68
+
63
69
  ArgsJson: string;
64
70
  AsyncHandle: long;
65
71
  CallType: JSCallType;