Skip to content

Comments

Fix documentation referencing obsolete filename SerratedInteropHelpers.js#2

Merged
SerratedSharp merged 2 commits intoserrated/initial-migrationfrom
copilot/sub-pr-1
Feb 12, 2026
Merged

Fix documentation referencing obsolete filename SerratedInteropHelpers.js#2
SerratedSharp merged 2 commits intoserrated/initial-migrationfrom
copilot/sub-pr-1

Conversation

Copy link

Copilot AI commented Feb 12, 2026

The XML documentation for JSInteropHelpersModule.ImportAsync referenced the legacy filename SerratedInteropHelpers.js, but the actual implementation uses SerratedJSInteropShim.js.

Changes

  • Updated subPath parameter documentation in JSInteropHelpersModule.cs to reference the correct default path /_content/SerratedSharp.SerratedJSInterop.Blazor/SerratedJSInteropShim.js
/// <param name="subPath">Sub path. Default is "/_content/SerratedSharp.SerratedJSInterop.Blazor/SerratedJSInteropShim.js" for loading from the Blazor RCL. Provide alternate subpath to concatenate with basePath if loading from custom location.</param>
public static async Task ImportAsync(string basePath = "", string? subPath = null)
{
    string path = basePath.TrimEnd('/') +
        (subPath ?? "/_content/SerratedSharp.SerratedJSInterop.Blazor/SerratedJSInteropShim.js");
    await JSHost.ImportAsync("SerratedJSInteropShim", path);
}

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…him.js

Co-authored-by: SerratedSharp <97156524+SerratedSharp@users.noreply.github.com>
Copilot AI changed the title [WIP] WIP Address feedback on initial migration from legacy project Fix documentation referencing obsolete filename SerratedInteropHelpers.js Feb 12, 2026
Copilot AI requested a review from SerratedSharp February 12, 2026 02:03
@SerratedSharp SerratedSharp marked this pull request as ready for review February 12, 2026 03:48
@SerratedSharp SerratedSharp merged commit b1fb189 into serrated/initial-migration Feb 12, 2026
@SerratedSharp SerratedSharp deleted the copilot/sub-pr-1 branch February 13, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants