diff options
author | Pranav K <prkrishn@hotmail.com> | 2019-08-17 01:34:58 +0300 |
---|---|---|
committer | Pranav K <prkrishn@hotmail.com> | 2019-08-17 01:34:58 +0300 |
commit | 895dfb40fceaaff25b8206a097512f689f7f3ff5 (patch) | |
tree | 3341066935bcf20a9491b1c300e16192adc44bfd /src | |
parent | 203caa020f4c6e08b0223952b8571d1e8476e2c3 (diff) |
Fixup template
Diffstat (limited to 'src')
-rw-r--r-- | src/ProjectTemplates/Web.ProjectTemplates/content/RazorClassLibrary-CSharp/ExampleJsInterop.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/RazorClassLibrary-CSharp/ExampleJsInterop.cs b/src/ProjectTemplates/Web.ProjectTemplates/content/RazorClassLibrary-CSharp/ExampleJsInterop.cs index 81bea2832e..dd9395ae9b 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/RazorClassLibrary-CSharp/ExampleJsInterop.cs +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/RazorClassLibrary-CSharp/ExampleJsInterop.cs @@ -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>( |