FoggyFinder
I've been trying to rewrite C# Avalonia App to F# but can't get rid of error.
```text/x-csharp
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UsePlatformDetect()
.UseManagedSystemDialogs()
.LogToDebug();
```
My attempt
```
let buildAvaloniaApp () =
AppBuilder.Configure<App>()
.UsePlatformDetect()
.UseManagedSystemDialogs()
.LogToDebug()
```
and here is error:
```
FS0041 A unique overload for method 'UseManagedSystemDialogs' could not be determined based on type information prior to this program point. A type annotation may be needed.
Candidates:
- (extension) AppBuilder.UseManagedSystemDialogs<'TAppBuilder when 'TAppBuilder : (new : unit -> 'TAppBuilder) and 'TAppBuilder :> AppBuilderBase<'TAppBuilder>>() : 'TAppBuilder
- (extension) AppBuilder.UseManagedSystemDialogs<'TAppBuilder,'TWindow when 'TAppBuilder : (new : unit -> 'TAppBuilder) and 'TAppBuilder :> AppBuilderBase<'TAppBuilder> and 'TWindow : (new : unit -> 'TWindow) and 'TWindow :> Window>() : 'TAppBuilder
```
How annotate function/method properly to build project without errors?