Skip to content

Commit b881c8d

Browse files
Another missing new.
1 parent 3e7827c commit b881c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/KristofferStrube.Blazor.FileAPI/FileReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class FileReader : EventTarget, IJSCreatable<FileReader>
3636
/// </summary>
3737
/// <param name="jSRuntime">An <see cref="IJSRuntime"/> instance.</param>
3838
/// <returns>A wrapper instance for a <see cref="FileReader"/>.</returns>
39-
public static async Task<FileReader> CreateAsync(IJSRuntime jSRuntime)
39+
public static new async Task<FileReader> CreateAsync(IJSRuntime jSRuntime)
4040
{
4141
IJSObjectReference helper = await jSRuntime.GetHelperAsync();
4242
IJSObjectReference jSInstance = await helper.InvokeAsync<IJSObjectReference>("constructFileReader");

0 commit comments

Comments
 (0)