diff --git a/src/Avalonia.FuncUI/Types.fs b/src/Avalonia.FuncUI/Types.fs index 23e817a8..c464eb0a 100644 --- a/src/Avalonia.FuncUI/Types.fs +++ b/src/Avalonia.FuncUI/Types.fs @@ -1,12 +1,12 @@ -namespace rec Avalonia.FuncUI +namespace Avalonia.FuncUI open Avalonia open Avalonia.Controls open System open System.Threading -open Avalonia.Data +open System.Diagnostics.CodeAnalysis -module Types = +module rec Types = [] type PropertyAccessor = @@ -153,11 +153,11 @@ module Types = abstract member ConstructorArgs: obj array with get abstract member Outlet: (AvaloniaObject -> unit) voption with get - type IView<'viewType> = + type IView<[]'viewType> = inherit IView abstract member Attrs: IAttr<'viewType> list with get - type View<'viewType> = + type View<[]'viewType> = { ViewType: Type ViewKey: string voption Attrs: IAttr<'viewType> list diff --git a/src/Examples/Component Examples/Examples.ContactBook/Examples.ContactBook.fsproj b/src/Examples/Component Examples/Examples.ContactBook/Examples.ContactBook.fsproj index 26e5b076..f3f0fabc 100644 --- a/src/Examples/Component Examples/Examples.ContactBook/Examples.ContactBook.fsproj +++ b/src/Examples/Component Examples/Examples.ContactBook/Examples.ContactBook.fsproj @@ -26,6 +26,7 @@ +