Fixup template

This commit is contained in:
Pranav K 2019-08-16 15:34:58 -07:00
parent 203caa020f
commit 895dfb40fc
No known key found for this signature in database
GPG Key ID: 1963DA6D96C3057A
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ namespace RazorClassLibrary_CSharp
{
public class ExampleJsInterop
{
public static Task<string> Prompt(IJSRuntime jsRuntime, string message)
public static ValueTask<string> Prompt(IJSRuntime jsRuntime, string message)
{
// Implemented in exampleJsInterop.js
return jsRuntime.InvokeAsync<string>(