From 13849a673915071588e70b21caefcdd7a53e57b8 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Sat, 2 Jun 2018 14:20:29 -0700 Subject: [PATCH] Fix base type of UIErrorEventArgs --- .../src/Rendering/EventForDotNet.ts | 2 +- src/Microsoft.AspNetCore.Blazor/UIEventArgs.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.AspNetCore.Blazor.Browser.JS/src/Rendering/EventForDotNet.ts b/src/Microsoft.AspNetCore.Blazor.Browser.JS/src/Rendering/EventForDotNet.ts index 8bd1453dd5..985017a908 100644 --- a/src/Microsoft.AspNetCore.Blazor.Browser.JS/src/Rendering/EventForDotNet.ts +++ b/src/Microsoft.AspNetCore.Blazor.Browser.JS/src/Rendering/EventForDotNet.ts @@ -248,7 +248,7 @@ interface UIDataTransferItem { type: string; } -interface UIErrorEventArgs extends UIProgressEventArgs { +interface UIErrorEventArgs extends UIEventArgs { } interface UIFocusEventArgs extends UIEventArgs { diff --git a/src/Microsoft.AspNetCore.Blazor/UIEventArgs.cs b/src/Microsoft.AspNetCore.Blazor/UIEventArgs.cs index 424ca133d8..c0b2435d4c 100644 --- a/src/Microsoft.AspNetCore.Blazor/UIEventArgs.cs +++ b/src/Microsoft.AspNetCore.Blazor/UIEventArgs.cs @@ -168,7 +168,7 @@ namespace Microsoft.AspNetCore.Blazor /// /// Supplies information about an error event that is being raised. /// - public class UIErrorEventArgs : UIProgressEventArgs + public class UIErrorEventArgs : UIEventArgs { }