@tsonic/aspnetcore 10.0.40 → 10.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. package/Microsoft.AspNetCore/internal/index.d.ts +3 -2
  2. package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +11 -10
  3. package/Microsoft.AspNetCore.Antiforgery.d.ts +4 -0
  4. package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +218 -214
  5. package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +6 -5
  6. package/Microsoft.AspNetCore.Authentication.BearerToken.d.ts +4 -0
  7. package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +22 -21
  8. package/Microsoft.AspNetCore.Authentication.Cookies.d.ts +4 -0
  9. package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +27 -26
  10. package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +5 -4
  11. package/Microsoft.AspNetCore.Authentication.OAuth.Claims.d.ts +4 -0
  12. package/Microsoft.AspNetCore.Authentication.OAuth.d.ts +4 -0
  13. package/Microsoft.AspNetCore.Authentication.d.ts +7 -2
  14. package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +44 -43
  15. package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +5 -4
  16. package/Microsoft.AspNetCore.Authorization.Infrastructure.d.ts +4 -0
  17. package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +8 -7
  18. package/Microsoft.AspNetCore.Authorization.Policy.d.ts +4 -0
  19. package/Microsoft.AspNetCore.Authorization.d.ts +8 -4
  20. package/Microsoft.AspNetCore.Builder/bindings.json +0 -130
  21. package/Microsoft.AspNetCore.Builder/internal/index.d.ts +110 -129
  22. package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +9 -8
  23. package/Microsoft.AspNetCore.Builder.Extensions.d.ts +4 -0
  24. package/Microsoft.AspNetCore.Builder.d.ts +4 -1
  25. package/Microsoft.AspNetCore.Components/bindings.json +4 -1
  26. package/Microsoft.AspNetCore.Components/internal/index.d.ts +240 -242
  27. package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +26 -25
  28. package/Microsoft.AspNetCore.Components.Authorization.d.ts +4 -0
  29. package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +9 -8
  30. package/Microsoft.AspNetCore.Components.CompilerServices.d.ts +4 -0
  31. package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +3 -2
  32. package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +3 -2
  33. package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure.d.ts +4 -0
  34. package/Microsoft.AspNetCore.Components.Endpoints.d.ts +4 -0
  35. package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +98 -100
  36. package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +13 -12
  37. package/Microsoft.AspNetCore.Components.Forms.Mapping.d.ts +4 -0
  38. package/Microsoft.AspNetCore.Components.Forms.d.ts +4 -0
  39. package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +2 -4
  40. package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure.d.ts +4 -0
  41. package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +4 -3
  42. package/Microsoft.AspNetCore.Components.Infrastructure.d.ts +4 -0
  43. package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +16 -18
  44. package/Microsoft.AspNetCore.Components.RenderTree.d.ts +4 -0
  45. package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +21 -20
  46. package/Microsoft.AspNetCore.Components.Rendering.d.ts +4 -0
  47. package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +24 -23
  48. package/Microsoft.AspNetCore.Components.Routing.d.ts +4 -0
  49. package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +13 -12
  50. package/Microsoft.AspNetCore.Components.Sections.d.ts +4 -0
  51. package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -8
  52. package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +3 -2
  53. package/Microsoft.AspNetCore.Components.Server.Circuits.d.ts +4 -0
  54. package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +9 -8
  55. package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.d.ts +4 -0
  56. package/Microsoft.AspNetCore.Components.Server.d.ts +4 -0
  57. package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +23 -22
  58. package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +3 -2
  59. package/Microsoft.AspNetCore.Components.Web.HtmlRendering.d.ts +4 -0
  60. package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +3 -2
  61. package/Microsoft.AspNetCore.Components.Web.Infrastructure.d.ts +4 -0
  62. package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -5
  63. package/Microsoft.AspNetCore.Components.Web.Internal.d.ts +4 -0
  64. package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +23 -22
  65. package/Microsoft.AspNetCore.Components.Web.Virtualization.d.ts +5 -1
  66. package/Microsoft.AspNetCore.Components.Web.d.ts +4 -0
  67. package/Microsoft.AspNetCore.Components.d.ts +11 -7
  68. package/Microsoft.AspNetCore.Connections/internal/index.d.ts +34 -33
  69. package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +3 -2
  70. package/Microsoft.AspNetCore.Connections.Abstractions.d.ts +4 -0
  71. package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +12 -11
  72. package/Microsoft.AspNetCore.Connections.Features.d.ts +4 -0
  73. package/Microsoft.AspNetCore.Connections.d.ts +5 -1
  74. package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +3 -2
  75. package/Microsoft.AspNetCore.CookiePolicy.d.ts +4 -0
  76. package/Microsoft.AspNetCore.Cors/internal/index.d.ts +9 -8
  77. package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +11 -10
  78. package/Microsoft.AspNetCore.Cors.Infrastructure.d.ts +4 -0
  79. package/Microsoft.AspNetCore.Cors.d.ts +4 -0
  80. package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +3 -2
  81. package/Microsoft.AspNetCore.Cryptography.KeyDerivation.d.ts +4 -0
  82. package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +8 -8
  83. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/bindings.json +10 -10
  84. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +8 -7
  85. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +9 -8
  86. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.d.ts +4 -0
  87. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.d.ts +4 -0
  88. package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +4 -3
  89. package/Microsoft.AspNetCore.DataProtection.Infrastructure.d.ts +4 -0
  90. package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +3 -2
  91. package/Microsoft.AspNetCore.DataProtection.Internal.d.ts +4 -0
  92. package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +16 -15
  93. package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/bindings.json +3 -3
  94. package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +7 -9
  95. package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.d.ts +4 -0
  96. package/Microsoft.AspNetCore.DataProtection.KeyManagement.d.ts +4 -0
  97. package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +7 -6
  98. package/Microsoft.AspNetCore.DataProtection.Repositories.d.ts +4 -0
  99. package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +9 -8
  100. package/Microsoft.AspNetCore.DataProtection.XmlEncryption.d.ts +4 -0
  101. package/Microsoft.AspNetCore.DataProtection.d.ts +4 -0
  102. package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +34 -33
  103. package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +5 -4
  104. package/Microsoft.AspNetCore.Diagnostics.HealthChecks.d.ts +4 -0
  105. package/Microsoft.AspNetCore.Diagnostics.d.ts +4 -0
  106. package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +3 -2
  107. package/Microsoft.AspNetCore.HostFiltering.d.ts +4 -0
  108. package/Microsoft.AspNetCore.Hosting/bindings.json +20 -83
  109. package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +19 -27
  110. package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +3 -2
  111. package/Microsoft.AspNetCore.Hosting.Builder.d.ts +4 -0
  112. package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +4 -3
  113. package/Microsoft.AspNetCore.Hosting.Infrastructure.d.ts +4 -0
  114. package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +7 -6
  115. package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +6 -5
  116. package/Microsoft.AspNetCore.Hosting.Server.Abstractions.d.ts +5 -1
  117. package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +3 -2
  118. package/Microsoft.AspNetCore.Hosting.Server.Features.d.ts +4 -0
  119. package/Microsoft.AspNetCore.Hosting.Server.d.ts +5 -1
  120. package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +3 -2
  121. package/Microsoft.AspNetCore.Hosting.StaticWebAssets.d.ts +4 -0
  122. package/Microsoft.AspNetCore.Hosting.d.ts +7 -5
  123. package/Microsoft.AspNetCore.Html/internal/index.d.ts +14 -11
  124. package/Microsoft.AspNetCore.Html.d.ts +4 -0
  125. package/Microsoft.AspNetCore.Http/bindings.json +494 -494
  126. package/Microsoft.AspNetCore.Http/internal/index.d.ts +336 -338
  127. package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +22 -21
  128. package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +5 -4
  129. package/Microsoft.AspNetCore.Http.Connections.Features.d.ts +4 -0
  130. package/Microsoft.AspNetCore.Http.Connections.d.ts +4 -0
  131. package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -5
  132. package/Microsoft.AspNetCore.Http.Extensions.d.ts +4 -0
  133. package/Microsoft.AspNetCore.Http.Features/bindings.json +4 -1
  134. package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +53 -55
  135. package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +7 -6
  136. package/Microsoft.AspNetCore.Http.Features.Authentication.d.ts +4 -0
  137. package/Microsoft.AspNetCore.Http.Features.d.ts +4 -0
  138. package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +39 -38
  139. package/Microsoft.AspNetCore.Http.Headers.d.ts +4 -0
  140. package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +117 -116
  141. package/Microsoft.AspNetCore.Http.HttpResults.d.ts +37 -33
  142. package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +3 -2
  143. package/Microsoft.AspNetCore.Http.Json.d.ts +4 -0
  144. package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +12 -11
  145. package/Microsoft.AspNetCore.Http.Metadata.d.ts +4 -0
  146. package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +8 -7
  147. package/Microsoft.AspNetCore.Http.Timeouts.d.ts +4 -0
  148. package/Microsoft.AspNetCore.Http.d.ts +11 -7
  149. package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +4 -3
  150. package/Microsoft.AspNetCore.HttpLogging.d.ts +4 -0
  151. package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +3 -5
  152. package/Microsoft.AspNetCore.HttpOverrides.d.ts +4 -0
  153. package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +3 -2
  154. package/Microsoft.AspNetCore.HttpsPolicy.d.ts +4 -0
  155. package/Microsoft.AspNetCore.Identity/bindings.json +397 -17
  156. package/Microsoft.AspNetCore.Identity/internal/index.d.ts +453 -452
  157. package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +17 -16
  158. package/Microsoft.AspNetCore.Identity.Data.d.ts +4 -0
  159. package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +3 -2
  160. package/Microsoft.AspNetCore.Identity.UI.Services.d.ts +4 -0
  161. package/Microsoft.AspNetCore.Identity.d.ts +44 -40
  162. package/Microsoft.AspNetCore.Localization/internal/index.d.ts +21 -20
  163. package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +5 -4
  164. package/Microsoft.AspNetCore.Localization.Routing.d.ts +4 -0
  165. package/Microsoft.AspNetCore.Localization.d.ts +4 -0
  166. package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +447 -446
  167. package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +17 -16
  168. package/Microsoft.AspNetCore.Mvc.Abstractions.d.ts +4 -0
  169. package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +9 -8
  170. package/Microsoft.AspNetCore.Mvc.ActionConstraints.d.ts +4 -0
  171. package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +34 -33
  172. package/Microsoft.AspNetCore.Mvc.ApiExplorer.d.ts +4 -0
  173. package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +54 -53
  174. package/Microsoft.AspNetCore.Mvc.ApplicationModels.d.ts +4 -0
  175. package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +7 -6
  176. package/Microsoft.AspNetCore.Mvc.ApplicationParts.d.ts +6 -2
  177. package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +8 -7
  178. package/Microsoft.AspNetCore.Mvc.Authorization.d.ts +4 -0
  179. package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +12 -11
  180. package/Microsoft.AspNetCore.Mvc.Controllers.d.ts +4 -0
  181. package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -2
  182. package/Microsoft.AspNetCore.Mvc.Core.Infrastructure.d.ts +4 -0
  183. package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +6 -5
  184. package/Microsoft.AspNetCore.Mvc.Cors.d.ts +4 -0
  185. package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +15 -14
  186. package/Microsoft.AspNetCore.Mvc.DataAnnotations.d.ts +4 -0
  187. package/Microsoft.AspNetCore.Mvc.Diagnostics/bindings.json +119 -119
  188. package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +29 -28
  189. package/Microsoft.AspNetCore.Mvc.Diagnostics.d.ts +5 -1
  190. package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +57 -56
  191. package/Microsoft.AspNetCore.Mvc.Filters.d.ts +4 -0
  192. package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +38 -37
  193. package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +20 -19
  194. package/Microsoft.AspNetCore.Mvc.Formatters.Xml.d.ts +4 -0
  195. package/Microsoft.AspNetCore.Mvc.Formatters.d.ts +4 -0
  196. package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +91 -0
  197. package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +58 -39
  198. package/Microsoft.AspNetCore.Mvc.Infrastructure.d.ts +6 -1
  199. package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +11 -10
  200. package/Microsoft.AspNetCore.Mvc.Localization.d.ts +8 -4
  201. package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +1721 -1721
  202. package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +272 -274
  203. package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +54 -53
  204. package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders.d.ts +4 -0
  205. package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +108 -107
  206. package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.d.ts +4 -0
  207. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/bindings.json +80 -0
  208. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +42 -27
  209. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +6 -1
  210. package/Microsoft.AspNetCore.Mvc.ModelBinding.d.ts +11 -7
  211. package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +51 -50
  212. package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +10 -9
  213. package/Microsoft.AspNetCore.Mvc.Razor.Compilation.d.ts +4 -0
  214. package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +3 -2
  215. package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure.d.ts +4 -0
  216. package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +5 -4
  217. package/Microsoft.AspNetCore.Mvc.Razor.Internal.d.ts +4 -0
  218. package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +4 -6
  219. package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers.d.ts +4 -0
  220. package/Microsoft.AspNetCore.Mvc.Razor.d.ts +7 -3
  221. package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +135 -134
  222. package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +12 -11
  223. package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.d.ts +4 -0
  224. package/Microsoft.AspNetCore.Mvc.RazorPages.d.ts +4 -0
  225. package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +61 -60
  226. package/Microsoft.AspNetCore.Mvc.Rendering.d.ts +6 -2
  227. package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +47 -46
  228. package/Microsoft.AspNetCore.Mvc.Routing.d.ts +4 -0
  229. package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +22 -24
  230. package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +3 -2
  231. package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache.d.ts +4 -0
  232. package/Microsoft.AspNetCore.Mvc.TagHelpers.d.ts +4 -0
  233. package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +14 -13
  234. package/Microsoft.AspNetCore.Mvc.ViewComponents.d.ts +4 -0
  235. package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +10 -9
  236. package/Microsoft.AspNetCore.Mvc.ViewEngines.d.ts +4 -0
  237. package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +131 -131
  238. package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +78 -80
  239. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +3 -2
  240. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.d.ts +4 -0
  241. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +3 -2
  242. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.d.ts +4 -0
  243. package/Microsoft.AspNetCore.Mvc.ViewFeatures.d.ts +9 -5
  244. package/Microsoft.AspNetCore.Mvc.d.ts +20 -16
  245. package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +18 -17
  246. package/Microsoft.AspNetCore.OutputCaching.d.ts +4 -0
  247. package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +14 -13
  248. package/Microsoft.AspNetCore.RateLimiting.d.ts +5 -1
  249. package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +3 -2
  250. package/Microsoft.AspNetCore.Razor.Hosting.d.ts +4 -0
  251. package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +3 -2
  252. package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers.d.ts +4 -0
  253. package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +5 -7
  254. package/Microsoft.AspNetCore.Razor.TagHelpers.d.ts +4 -0
  255. package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -3
  256. package/Microsoft.AspNetCore.RequestDecompression.d.ts +4 -0
  257. package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +7 -6
  258. package/Microsoft.AspNetCore.ResponseCaching.d.ts +4 -0
  259. package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +6 -5
  260. package/Microsoft.AspNetCore.ResponseCompression.d.ts +4 -0
  261. package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +3 -2
  262. package/Microsoft.AspNetCore.Rewrite.d.ts +4 -0
  263. package/Microsoft.AspNetCore.Routing/bindings.json +185 -185
  264. package/Microsoft.AspNetCore.Routing/internal/index.d.ts +137 -139
  265. package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +49 -48
  266. package/Microsoft.AspNetCore.Routing.Constraints.d.ts +4 -0
  267. package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +3 -2
  268. package/Microsoft.AspNetCore.Routing.Internal.d.ts +4 -0
  269. package/Microsoft.AspNetCore.Routing.Matching/bindings.json +4 -1
  270. package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +12 -14
  271. package/Microsoft.AspNetCore.Routing.Matching.d.ts +6 -2
  272. package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +29 -28
  273. package/Microsoft.AspNetCore.Routing.Patterns.d.ts +4 -0
  274. package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +16 -18
  275. package/Microsoft.AspNetCore.Routing.Template.d.ts +4 -0
  276. package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +4 -3
  277. package/Microsoft.AspNetCore.Routing.Tree.d.ts +4 -0
  278. package/Microsoft.AspNetCore.Routing.d.ts +6 -2
  279. package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +3 -2
  280. package/Microsoft.AspNetCore.Server.IISIntegration.d.ts +4 -0
  281. package/Microsoft.AspNetCore.Server.Kestrel/bindings.json +16 -16
  282. package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +3 -2
  283. package/Microsoft.AspNetCore.Server.Kestrel.Core/bindings.json +42 -42
  284. package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +16 -15
  285. package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/bindings.json +3 -3
  286. package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +7 -6
  287. package/Microsoft.AspNetCore.Server.Kestrel.Core.Features.d.ts +4 -0
  288. package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/bindings.json +33 -33
  289. package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +6 -8
  290. package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.d.ts +4 -0
  291. package/Microsoft.AspNetCore.Server.Kestrel.Core.d.ts +4 -0
  292. package/Microsoft.AspNetCore.Server.Kestrel.Https/bindings.json +10 -10
  293. package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +19 -18
  294. package/Microsoft.AspNetCore.Server.Kestrel.Https.d.ts +4 -0
  295. package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +7 -6
  296. package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.d.ts +4 -0
  297. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +3 -2
  298. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.d.ts +4 -0
  299. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +3 -2
  300. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.d.ts +4 -0
  301. package/Microsoft.AspNetCore.Server.Kestrel.d.ts +4 -0
  302. package/Microsoft.AspNetCore.Session/internal/index.d.ts +3 -5
  303. package/Microsoft.AspNetCore.Session.d.ts +4 -0
  304. package/Microsoft.AspNetCore.SignalR/bindings.json +201 -201
  305. package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +168 -170
  306. package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +32 -34
  307. package/Microsoft.AspNetCore.SignalR.Protocol.d.ts +4 -0
  308. package/Microsoft.AspNetCore.SignalR.d.ts +20 -16
  309. package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +3 -2
  310. package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +5 -4
  311. package/Microsoft.AspNetCore.StaticAssets.Infrastructure.d.ts +4 -0
  312. package/Microsoft.AspNetCore.StaticAssets.d.ts +4 -0
  313. package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +2 -4
  314. package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -6
  315. package/Microsoft.AspNetCore.StaticFiles.Infrastructure.d.ts +4 -0
  316. package/Microsoft.AspNetCore.StaticFiles.d.ts +4 -0
  317. package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +5 -4
  318. package/Microsoft.AspNetCore.WebSockets.d.ts +4 -0
  319. package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +25 -24
  320. package/Microsoft.AspNetCore.WebUtilities.d.ts +5 -1
  321. package/Microsoft.AspNetCore.d.ts +4 -0
  322. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +62 -61
  323. package/Microsoft.Extensions.DependencyInjection.d.ts +4 -0
  324. package/Microsoft.Extensions.Hosting/internal/index.d.ts +3 -2
  325. package/Microsoft.Extensions.Hosting.d.ts +4 -0
  326. package/Microsoft.JSInterop/internal/index.d.ts +102 -77
  327. package/Microsoft.JSInterop.Implementation/internal/index.d.ts +16 -17
  328. package/Microsoft.JSInterop.Implementation.d.ts +4 -0
  329. package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +9 -11
  330. package/Microsoft.JSInterop.Infrastructure.d.ts +4 -0
  331. package/Microsoft.JSInterop.d.ts +6 -2
  332. package/Microsoft.Net.Http.Headers/internal/index.d.ts +57 -59
  333. package/Microsoft.Net.Http.Headers.d.ts +4 -0
  334. package/README.md +65 -15
  335. package/System.Formats.Cbor/internal/index.d.ts +4 -6
  336. package/System.Formats.Cbor.d.ts +4 -0
  337. package/System.Security.Claims/internal/index.d.ts +4 -3
  338. package/System.Security.Claims.d.ts +4 -0
  339. package/System.Threading.RateLimiting/internal/index.d.ts +31 -33
  340. package/System.Threading.RateLimiting.d.ts +10 -6
  341. package/__internal/extensions/index.d.ts +410 -431
  342. package/package.json +4 -4
  343. package/Microsoft.AspNetCore.Server.HttpSys/bindings.json +0 -2396
  344. package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +0 -297
  345. package/Microsoft.AspNetCore.Server.HttpSys.d.ts +0 -34
  346. package/Microsoft.AspNetCore.Server.HttpSys.js +0 -9
  347. package/Microsoft.AspNetCore.Server.IIS/bindings.json +0 -332
  348. package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +0 -68
  349. package/Microsoft.AspNetCore.Server.IIS.d.ts +0 -20
  350. package/Microsoft.AspNetCore.Server.IIS.js +0 -9
@@ -2,11 +2,9 @@
2
2
  // Namespace: Microsoft.JSInterop
3
3
  // Assembly: Microsoft.JSInterop
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 { 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
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import type { DotNetInvocationInfo, DotNetInvocationResult, JSInvocationInfo } from "../../Microsoft.JSInterop.Infrastructure/internal/index.js";
@@ -30,14 +28,21 @@ export enum JSCallResultType {
30
28
  export interface IJSInProcessObjectReference$instance extends IJSObjectReference, IAsyncDisposable, IDisposable {
31
29
  readonly __tsonic_iface_Microsoft_JSInterop_IJSInProcessObjectReference: never;
32
30
 
33
- GetValue<TValue>(identifier: string): TValue;
31
+ GetValue<TValue extends unknown>(identifier: string): TValue;
32
+ GetValueAsync<TValue extends unknown>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
33
+ GetValueAsync<TValue extends unknown>(identifier: string): ValueTask_1<TValue>;
34
34
  GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
35
35
  GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
36
- Invoke<TValue>(identifier: string, ...args: unknown[]): TValue;
37
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
38
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
39
- InvokeConstructor(identifier: string, args: unknown[]): IJSInProcessObjectReference;
40
- SetValue<TValue>(identifier: string, value: TValue): void;
36
+ Invoke<TValue extends unknown>(identifier: string, ...args: (unknown | null)[]): TValue;
37
+ Invoke<TValue extends unknown>(identifier: string, args: (unknown | null)[] | null): TValue;
38
+ InvokeAsync<TValue extends unknown>(identifier: string, args: (unknown | null)[] | null): ValueTask_1<TValue>;
39
+ InvokeAsync<TValue extends unknown>(identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask_1<TValue>;
40
+ InvokeAsync<TValue>(identifier: string, args: (unknown | null)[] | null): ValueTask_1<TValue>;
41
+ InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask_1<TValue>;
42
+ InvokeConstructor(identifier: string, args: (unknown | null)[] | null): IJSInProcessObjectReference;
43
+ SetValue<TValue extends unknown>(identifier: string, value: TValue): void;
44
+ SetValueAsync<TValue extends unknown>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
45
+ SetValueAsync<TValue extends unknown>(identifier: string, value: TValue): ValueTask;
41
46
  SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
42
47
  SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
43
48
  }
@@ -50,16 +55,18 @@ export type IJSInProcessObjectReference = IJSInProcessObjectReference$instance;
50
55
  export interface IJSInProcessRuntime$instance {
51
56
  readonly __tsonic_iface_Microsoft_JSInterop_IJSInProcessRuntime: never;
52
57
 
53
- GetValue<TValue>(identifier: string): TValue;
54
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
55
- GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
56
- Invoke<TResult>(identifier: string, ...args: unknown[]): TResult;
57
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
58
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
59
- InvokeConstructor(identifier: string, ...args: unknown[]): IJSInProcessObjectReference;
60
- SetValue<TValue>(identifier: string, value: TValue): void;
61
- SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
62
- SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
58
+ GetValue<TValue extends unknown>(identifier: string): TValue;
59
+ GetValueAsync<TValue extends unknown>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
60
+ GetValueAsync<TValue extends unknown>(identifier: string): ValueTask_1<TValue>;
61
+ Invoke<TResult extends unknown>(identifier: string, ...args: (unknown | null)[]): TResult;
62
+ Invoke<TResult extends unknown>(identifier: string, args: (unknown | null)[] | null): TResult;
63
+ InvokeAsync<TValue extends unknown>(identifier: string, args: (unknown | null)[] | null): ValueTask_1<TValue>;
64
+ InvokeAsync<TValue extends unknown>(identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask_1<TValue>;
65
+ InvokeConstructor(identifier: string, ...args: (unknown | null)[]): IJSInProcessObjectReference;
66
+ InvokeConstructor(identifier: string, args: (unknown | null)[] | null): IJSInProcessObjectReference;
67
+ SetValue<TValue extends unknown>(identifier: string, value: TValue): void;
68
+ SetValueAsync<TValue extends unknown>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
69
+ SetValueAsync<TValue extends unknown>(identifier: string, value: TValue): ValueTask;
63
70
  }
64
71
 
65
72
 
@@ -68,12 +75,12 @@ export type IJSInProcessRuntime = IJSInProcessRuntime$instance;
68
75
  export interface IJSObjectReference$instance extends IAsyncDisposable {
69
76
  readonly __tsonic_iface_Microsoft_JSInterop_IJSObjectReference: never;
70
77
 
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
- SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
76
- SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
78
+ GetValueAsync<TValue extends unknown>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
79
+ GetValueAsync<TValue extends unknown>(identifier: string): ValueTask_1<TValue>;
80
+ InvokeAsync<TValue extends unknown>(identifier: string, args: (unknown | null)[] | null): ValueTask_1<TValue>;
81
+ InvokeAsync<TValue extends unknown>(identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask_1<TValue>;
82
+ SetValueAsync<TValue extends unknown>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
83
+ SetValueAsync<TValue extends unknown>(identifier: string, value: TValue): ValueTask;
77
84
  }
78
85
 
79
86
 
@@ -84,12 +91,12 @@ export type IJSObjectReference = IJSObjectReference$instance;
84
91
  export interface IJSRuntime$instance {
85
92
  readonly __tsonic_iface_Microsoft_JSInterop_IJSRuntime: never;
86
93
 
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
- SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
92
- SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
94
+ GetValueAsync<TValue extends unknown>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
95
+ GetValueAsync<TValue extends unknown>(identifier: string): ValueTask_1<TValue>;
96
+ InvokeAsync<TValue extends unknown>(identifier: string, args: (unknown | null)[] | null): ValueTask_1<TValue>;
97
+ InvokeAsync<TValue extends unknown>(identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask_1<TValue>;
98
+ SetValueAsync<TValue extends unknown>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
99
+ SetValueAsync<TValue extends unknown>(identifier: string, value: TValue): ValueTask;
93
100
  }
94
101
 
95
102
 
@@ -107,7 +114,7 @@ export interface IJSStreamReference$instance extends System_Internal.IAsyncDispo
107
114
 
108
115
  export type IJSStreamReference = IJSStreamReference$instance;
109
116
 
110
- export interface DotNetObjectReference_1$instance<TValue> {
117
+ export interface DotNetObjectReference_1$instance<TValue extends (object | null)> {
111
118
  readonly __tsonic_type_Microsoft_JSInterop_DotNetObjectReference_1: never;
112
119
 
113
120
  readonly __tsonic_iface_Microsoft_JSInterop_Infrastructure_IDotNetObjectReference: never;
@@ -122,7 +129,7 @@ export const DotNetObjectReference_1: {
122
129
  };
123
130
 
124
131
 
125
- export type DotNetObjectReference_1<TValue> = DotNetObjectReference_1$instance<TValue>;
132
+ export type DotNetObjectReference_1<TValue extends (object | null)> = DotNetObjectReference_1$instance<TValue>;
126
133
 
127
134
  export interface DotNetStreamReference$instance {
128
135
  readonly __tsonic_type_Microsoft_JSInterop_DotNetStreamReference: never;
@@ -180,13 +187,15 @@ export interface JSInProcessRuntime$instance extends JSRuntime, System_Internal.
180
187
  readonly __tsonic_iface_Microsoft_JSInterop_IJSRuntime: never;
181
188
  readonly __tsonic_iface_System_IDisposable: never;
182
189
 
183
- GetValue<TValue>(identifier: string): TValue;
184
- Invoke<TValue>(identifier: string, ...args: unknown[]): TValue;
185
- InvokeConstructor(identifier: string, ...args: unknown[]): IJSInProcessObjectReference;
186
- InvokeJS(identifier: string, argsJson: string): string | undefined;
187
- InvokeJS(identifier: string, argsJson: string, resultType: JSCallResultType, targetInstanceId: long): string | undefined;
188
- InvokeJS(invocationInfo: JSInvocationInfo): string | undefined;
189
- SetValue<TValue>(identifier: string, value: TValue): void;
190
+ GetValue<TValue extends unknown>(identifier: string): TValue;
191
+ Invoke<TValue extends unknown>(identifier: string, ...args: (unknown | null)[]): TValue;
192
+ Invoke<TValue extends unknown>(identifier: string, args: (unknown | null)[] | null): TValue;
193
+ InvokeConstructor(identifier: string, ...args: (unknown | null)[]): IJSInProcessObjectReference;
194
+ InvokeConstructor(identifier: string, args: (unknown | null)[] | null): IJSInProcessObjectReference;
195
+ InvokeJS(identifier: string, argsJson: string | null): string | null;
196
+ InvokeJS(identifier: string, argsJson: string | null, resultType: JSCallResultType, targetInstanceId: long): string | null;
197
+ InvokeJS(invocationInfo: JSInvocationInfo): string | null;
198
+ SetValue<TValue extends unknown>(identifier: string, value: TValue): void;
190
199
  }
191
200
 
192
201
 
@@ -205,7 +214,7 @@ export type JSInProcessRuntime = JSInProcessRuntime$instance & __JSInProcessRunt
205
214
  export interface JSInvokableAttribute$instance extends Attribute {
206
215
  readonly __tsonic_type_Microsoft_JSInterop_JSInvokableAttribute: never;
207
216
 
208
- readonly Identifier: string | undefined;
217
+ readonly Identifier: string | null;
209
218
  }
210
219
 
211
220
 
@@ -222,22 +231,22 @@ export interface JSRuntime$instance {
222
231
 
223
232
  readonly __tsonic_iface_System_IDisposable: never;
224
233
 
225
- BeginInvokeJS(taskId: long, identifier: string, argsJson: string): void;
226
- BeginInvokeJS(taskId: long, identifier: string, argsJson: string, resultType: JSCallResultType, targetInstanceId: long): void;
234
+ BeginInvokeJS(taskId: long, identifier: string, argsJson: string | null): void;
235
+ BeginInvokeJS(taskId: long, identifier: string, argsJson: string | null, resultType: JSCallResultType, targetInstanceId: long): void;
227
236
  BeginInvokeJS(invocationInfo: JSInvocationInfo): void;
228
237
  Dispose(): void;
229
238
  EndInvokeDotNet(invocationInfo: DotNetInvocationInfo, invocationResult: DotNetInvocationResult): void;
230
- GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
231
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
232
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
233
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
234
- InvokeConstructorAsync(identifier: string, args: unknown[]): ValueTask_1<IJSObjectReference>;
235
- InvokeConstructorAsync(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<IJSObjectReference>;
239
+ GetValueAsync<TValue extends unknown>(identifier: string): ValueTask_1<TValue>;
240
+ GetValueAsync<TValue extends unknown>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
241
+ InvokeAsync<TValue extends unknown>(identifier: string, args: (unknown | null)[] | null): ValueTask_1<TValue>;
242
+ InvokeAsync<TValue extends unknown>(identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask_1<TValue>;
243
+ InvokeConstructorAsync(identifier: string, args: (unknown | null)[] | null): ValueTask_1<IJSObjectReference>;
244
+ InvokeConstructorAsync(identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask_1<IJSObjectReference>;
236
245
  ReadJSDataAsStreamAsync(jsStreamReference: IJSStreamReference, totalLength: long, cancellationToken?: CancellationToken): Task_1<Stream>;
237
246
  ReceiveByteArray(id: int, data: byte[]): void;
238
247
  SendByteArray(id: int, data: byte[]): void;
239
- SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
240
- SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
248
+ SetValueAsync<TValue extends unknown>(identifier: string, value: TValue): ValueTask;
249
+ SetValueAsync<TValue extends unknown>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
241
250
  TransmitStreamAsync(streamId: long, dotNetStreamReference: DotNetStreamReference): Task;
242
251
  }
243
252
 
@@ -249,55 +258,71 @@ export const JSRuntime: (abstract new() => JSRuntime) & {
249
258
  export type JSRuntime = JSRuntime$instance;
250
259
 
251
260
  export abstract class DotNetObjectReference$instance {
252
- static Create<TValue>(value: TValue): DotNetObjectReference_1<TValue>;
261
+ static Create<TValue extends (object | null)>(value: TValue): DotNetObjectReference_1<TValue>;
253
262
  }
254
263
 
255
264
 
256
265
  export type DotNetObjectReference = DotNetObjectReference$instance;
257
266
 
258
267
  export abstract class JSInProcessObjectReferenceExtensions$instance {
259
- static InvokeVoid(jsObjectReference: IJSInProcessObjectReference, identifier: string, ...args: unknown[]): void;
268
+ static InvokeVoid(jsObjectReference: IJSInProcessObjectReference, identifier: string, ...args: (unknown | null)[]): void;
269
+ static InvokeVoid(jsObjectReference: IJSInProcessObjectReference, identifier: string, args: (unknown | null)[] | null): void;
260
270
  }
261
271
 
262
272
 
263
273
  export type JSInProcessObjectReferenceExtensions = JSInProcessObjectReferenceExtensions$instance;
264
274
 
265
275
  export abstract class JSInProcessRuntimeExtensions$instance {
266
- static InvokeVoid(jsRuntime: IJSInProcessRuntime, identifier: string, ...args: unknown[]): void;
276
+ static InvokeVoid(jsRuntime: IJSInProcessRuntime, identifier: string, ...args: (unknown | null)[]): void;
277
+ static InvokeVoid(jsRuntime: IJSInProcessRuntime, identifier: string, args: (unknown | null)[] | null): void;
267
278
  }
268
279
 
269
280
 
270
281
  export type JSInProcessRuntimeExtensions = JSInProcessRuntimeExtensions$instance;
271
282
 
272
283
  export abstract class JSObjectReferenceExtensions$instance {
273
- static GetValueAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan): ValueTask_1<TValue>;
274
- static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, ...args: unknown[]): ValueTask_1<TValue>;
275
- static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask_1<TValue>;
276
- static InvokeAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask_1<TValue>;
277
- static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, ...args: unknown[]): ValueTask_1<IJSObjectReference>;
278
- static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<IJSObjectReference>;
279
- static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, args: unknown[]): ValueTask_1<IJSObjectReference>;
280
- static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, ...args: unknown[]): ValueTask;
281
- static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask;
282
- static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask;
283
- static SetValueAsync<TValue>(jsObjectReference: IJSObjectReference, identifier: string, value: TValue, timeout: TimeSpan): ValueTask;
284
+ static GetValueAsync<TValue extends unknown>(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan): ValueTask_1<TValue>;
285
+ static InvokeAsync<TValue extends unknown>(jsObjectReference: IJSObjectReference, identifier: string, ...args: (unknown | null)[]): ValueTask_1<TValue>;
286
+ static InvokeAsync<TValue extends unknown>(jsObjectReference: IJSObjectReference, identifier: string, args: (unknown | null)[] | null): ValueTask_1<TValue>;
287
+ static InvokeAsync<TValue extends unknown>(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, ...args: (unknown | null)[]): ValueTask_1<TValue>;
288
+ static InvokeAsync<TValue extends unknown>(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask_1<TValue>;
289
+ static InvokeAsync<TValue extends unknown>(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, ...args: (unknown | null)[]): ValueTask_1<TValue>;
290
+ static InvokeAsync<TValue extends unknown>(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, args: (unknown | null)[] | null): ValueTask_1<TValue>;
291
+ static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, ...args: (unknown | null)[]): ValueTask_1<IJSObjectReference>;
292
+ static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, args: (unknown | null)[] | null): ValueTask_1<IJSObjectReference>;
293
+ static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask_1<IJSObjectReference>;
294
+ static InvokeConstructorAsync(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, args: (unknown | null)[] | null): ValueTask_1<IJSObjectReference>;
295
+ static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, ...args: (unknown | null)[]): ValueTask;
296
+ static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, args: (unknown | null)[] | null): ValueTask;
297
+ static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, ...args: (unknown | null)[]): ValueTask;
298
+ static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask;
299
+ static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, ...args: (unknown | null)[]): ValueTask;
300
+ static InvokeVoidAsync(jsObjectReference: IJSObjectReference, identifier: string, timeout: TimeSpan, args: (unknown | null)[] | null): ValueTask;
301
+ static SetValueAsync<TValue extends unknown>(jsObjectReference: IJSObjectReference, identifier: string, value: TValue, timeout: TimeSpan): ValueTask;
284
302
  }
285
303
 
286
304
 
287
305
  export type JSObjectReferenceExtensions = JSObjectReferenceExtensions$instance;
288
306
 
289
307
  export abstract class JSRuntimeExtensions$instance {
290
- static GetValueAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan): ValueTask_1<TValue>;
291
- static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, ...args: unknown[]): ValueTask_1<TValue>;
292
- static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask_1<TValue>;
293
- static InvokeAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask_1<TValue>;
294
- static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, ...args: unknown[]): ValueTask_1<IJSObjectReference>;
295
- static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<IJSObjectReference>;
296
- static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, args: unknown[]): ValueTask_1<IJSObjectReference>;
297
- static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, ...args: unknown[]): ValueTask;
298
- static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, ...args: unknown[]): ValueTask;
299
- static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, ...args: unknown[]): ValueTask;
300
- static SetValueAsync<TValue>(jsRuntime: IJSRuntime, identifier: string, value: TValue, timeout: TimeSpan): ValueTask;
308
+ static GetValueAsync<TValue extends unknown>(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan): ValueTask_1<TValue>;
309
+ static InvokeAsync<TValue extends unknown>(jsRuntime: IJSRuntime, identifier: string, ...args: (unknown | null)[]): ValueTask_1<TValue>;
310
+ static InvokeAsync<TValue extends unknown>(jsRuntime: IJSRuntime, identifier: string, args: (unknown | null)[] | null): ValueTask_1<TValue>;
311
+ static InvokeAsync<TValue extends unknown>(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, ...args: (unknown | null)[]): ValueTask_1<TValue>;
312
+ static InvokeAsync<TValue extends unknown>(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask_1<TValue>;
313
+ static InvokeAsync<TValue extends unknown>(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, ...args: (unknown | null)[]): ValueTask_1<TValue>;
314
+ static InvokeAsync<TValue extends unknown>(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, args: (unknown | null)[] | null): ValueTask_1<TValue>;
315
+ static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, ...args: (unknown | null)[]): ValueTask_1<IJSObjectReference>;
316
+ static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, args: (unknown | null)[] | null): ValueTask_1<IJSObjectReference>;
317
+ static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask_1<IJSObjectReference>;
318
+ static InvokeConstructorAsync(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, args: (unknown | null)[] | null): ValueTask_1<IJSObjectReference>;
319
+ static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, ...args: (unknown | null)[]): ValueTask;
320
+ static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, args: (unknown | null)[] | null): ValueTask;
321
+ static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, ...args: (unknown | null)[]): ValueTask;
322
+ static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask;
323
+ static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, ...args: (unknown | null)[]): ValueTask;
324
+ static InvokeVoidAsync(jsRuntime: IJSRuntime, identifier: string, timeout: TimeSpan, args: (unknown | null)[] | null): ValueTask;
325
+ static SetValueAsync<TValue extends unknown>(jsRuntime: IJSRuntime, identifier: string, value: TValue, timeout: TimeSpan): ValueTask;
301
326
  }
302
327
 
303
328
 
@@ -2,11 +2,9 @@
2
2
  // Namespace: Microsoft.JSInterop.Implementation
3
3
  // Assembly: Microsoft.JSInterop
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 { 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
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import * as Microsoft_JSInterop_Internal from "../../Microsoft.JSInterop/internal/index.js";
@@ -18,7 +16,7 @@ import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal
18
16
  import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
19
17
  import type { IAsyncDisposable, IDisposable, Int64, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
20
18
 
21
- export interface JSInProcessObjectReference$instance extends JSObjectReference$instance {
19
+ export interface JSInProcessObjectReference$instance extends JSObjectReference$instance, Microsoft_JSInterop_Internal.IJSInProcessObjectReference$instance {
22
20
  readonly __tsonic_type_Microsoft_JSInterop_Implementation_JSInProcessObjectReference: never;
23
21
 
24
22
  readonly __tsonic_iface_Microsoft_JSInterop_IJSInProcessObjectReference: never;
@@ -27,10 +25,11 @@ export interface JSInProcessObjectReference$instance extends JSObjectReference$i
27
25
  readonly __tsonic_iface_System_IDisposable: never;
28
26
 
29
27
  Dispose(): void;
30
- GetValue<TValue>(identifier: string): TValue;
31
- Invoke<TValue>(identifier: string, ...args: unknown[]): TValue;
32
- InvokeConstructor(identifier: string, args: unknown[]): IJSInProcessObjectReference;
33
- SetValue<TValue>(identifier: string, value: TValue): void;
28
+ GetValue<TValue extends unknown>(identifier: string): TValue;
29
+ Invoke<TValue extends unknown>(identifier: string, ...args: (unknown | null)[]): TValue;
30
+ Invoke<TValue extends unknown>(identifier: string, args: (unknown | null)[] | null): TValue;
31
+ InvokeConstructor(identifier: string, args: (unknown | null)[] | null): IJSInProcessObjectReference;
32
+ SetValue<TValue extends unknown>(identifier: string, value: TValue): void;
34
33
  }
35
34
 
36
35
 
@@ -53,14 +52,14 @@ export interface JSObjectReference$instance extends Microsoft_JSInterop_Internal
53
52
  readonly __tsonic_iface_System_IAsyncDisposable: never;
54
53
 
55
54
  DisposeAsync(): ValueTask;
56
- GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
57
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
58
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
59
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
60
- InvokeConstructorAsync(identifier: string, args: unknown[]): ValueTask_1<IJSObjectReference>;
61
- InvokeConstructorAsync(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<IJSObjectReference>;
62
- SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
63
- SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
55
+ GetValueAsync<TValue extends unknown>(identifier: string): ValueTask_1<TValue>;
56
+ GetValueAsync<TValue extends unknown>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
57
+ InvokeAsync<TValue extends unknown>(identifier: string, args: (unknown | null)[] | null): ValueTask_1<TValue>;
58
+ InvokeAsync<TValue extends unknown>(identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask_1<TValue>;
59
+ InvokeConstructorAsync(identifier: string, args: (unknown | null)[] | null): ValueTask_1<IJSObjectReference>;
60
+ InvokeConstructorAsync(identifier: string, cancellationToken: CancellationToken, args: (unknown | null)[] | null): ValueTask_1<IJSObjectReference>;
61
+ SetValueAsync<TValue extends unknown>(identifier: string, value: TValue): ValueTask;
62
+ SetValueAsync<TValue extends unknown>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
64
63
  }
65
64
 
66
65
 
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './Microsoft.JSInterop.Implementation/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { IJSInProcessObjectReference, IJSObjectReference, IJSStreamReference, JSInProcessRuntime, JSRuntime } from './Microsoft.JSInterop/internal/index.js';
10
14
  import type { Stream } from '@tsonic/dotnet/System.IO.js';
@@ -2,11 +2,9 @@
2
2
  // Namespace: Microsoft.JSInterop.Infrastructure
3
3
  // Assembly: Microsoft.JSInterop
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 { 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
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import type { JSCallResultType, JSRuntime } from "../../Microsoft.JSInterop/internal/index.js";
@@ -32,15 +30,15 @@ export type IJSVoidResult = IJSVoidResult$instance;
32
30
  export interface DotNetInvocationInfo$instance {
33
31
  readonly __tsonic_type_Microsoft_JSInterop_Infrastructure_DotNetInvocationInfo: never;
34
32
 
35
- readonly AssemblyName: string | undefined;
36
- readonly CallId: string | undefined;
33
+ readonly AssemblyName: string | null;
34
+ readonly CallId: string | null;
37
35
  readonly DotNetObjectId: long;
38
36
  readonly MethodIdentifier: string;
39
37
  }
40
38
 
41
39
 
42
40
  export const DotNetInvocationInfo: {
43
- new(assemblyName: string, methodIdentifier: string, dotNetObjectId: long, callId: string): DotNetInvocationInfo;
41
+ new(assemblyName: string | null, methodIdentifier: string, dotNetObjectId: long, callId: string | null): DotNetInvocationInfo;
44
42
  };
45
43
 
46
44
 
@@ -49,9 +47,9 @@ export type DotNetInvocationInfo = DotNetInvocationInfo$instance;
49
47
  export interface DotNetInvocationResult$instance {
50
48
  readonly __tsonic_type_Microsoft_JSInterop_Infrastructure_DotNetInvocationResult: never;
51
49
 
52
- readonly ErrorKind: string | undefined;
53
- readonly Exception: Exception | undefined;
54
- readonly ResultJson: string | undefined;
50
+ readonly ErrorKind: string | null;
51
+ readonly Exception: Exception | null;
52
+ readonly ResultJson: string | null;
55
53
  readonly Success: boolean;
56
54
  }
57
55
 
@@ -85,7 +83,7 @@ export type JSInvocationInfo = JSInvocationInfo$instance;
85
83
  export abstract class DotNetDispatcher$instance {
86
84
  static BeginInvokeDotNet(jsRuntime: JSRuntime, invocationInfo: DotNetInvocationInfo, argsJson: string): void;
87
85
  static EndInvokeJS(jsRuntime: JSRuntime, arguments: string): void;
88
- static Invoke(jsRuntime: JSRuntime, invocationInfo: DotNetInvocationInfo, argsJson: string): string | undefined;
86
+ static Invoke(jsRuntime: JSRuntime, invocationInfo: DotNetInvocationInfo, argsJson: string): string | null;
89
87
  static ReceiveByteArray(jsRuntime: JSRuntime, id: int, data: byte[]): void;
90
88
  }
91
89
 
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './Microsoft.JSInterop.Infrastructure/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { JSCallResultType, JSRuntime } from './Microsoft.JSInterop/internal/index.js';
10
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';
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './Microsoft.JSInterop/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { DotNetInvocationInfo, DotNetInvocationResult, JSInvocationInfo } from './Microsoft.JSInterop.Infrastructure/internal/index.js';
10
14
  import type { Stream } from '@tsonic/dotnet/System.IO.js';
@@ -40,10 +44,10 @@ declare const __unspecified: unique symbol;
40
44
  export type __ = typeof __unspecified;
41
45
 
42
46
  export type DotNetObjectReference<
43
- T1 = __,
47
+ T1 extends (object | null) | __ = __,
44
48
  > =
45
49
  [T1] extends [__] ? Internal.DotNetObjectReference :
46
- Internal.DotNetObjectReference_1<T1>;
50
+ [T1] extends [(object | null)] ? Internal.DotNetObjectReference_1<T1> : never;
47
51
 
48
52
  // Extension methods (C# using semantics)
49
53
  export type { ExtensionMethods_Microsoft_JSInterop as ExtensionMethods } from './__internal/extensions/index.js';