File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ open Fable.Core.JsInterop
88module AutocompleteHelpers =
99
1010 [<EditorBrowsable( EditorBrowsableState.Never) >]
11- let createFilterOptions ( config : CreateFilterOptionsOptions ) : Func < 'option [], AutocompleteFilterOptionsState , 'option []> =
11+ let createFilterOptions ( config : CreateFilterOptionsOptions < _ > ) : Func < 'option [], AutocompleteFilterOptionsState , 'option []> =
1212 import " createFilterOptions" " @material-ui/lab/Autocomplete"
1313
1414type Autocomplete =
@@ -21,7 +21,7 @@ type Autocomplete =
2121 ? trim : bool
2222 ) : 'option [] -> AutocompleteFilterOptionsState -> 'option []
2323 =
24- let opts = jsOptions< CreateFilterOptionsOptions>( fun o ->
24+ let opts = jsOptions< CreateFilterOptionsOptions<_> >(fun o ->
2525 if ignoreAccents.IsSome then o.ignoreAccents <- ignoreAccents.Value
2626 if ignoreCase.IsSome then o.ignoreCase <- ignoreCase.Value
2727 if matchFrom.IsSome then o.matchFrom <- matchFrom.Value
Original file line number Diff line number Diff line change @@ -455,7 +455,7 @@ type AutocompleteOnChangeReason =
455455 | Clear
456456
457457
458- type CreateFilterOptionsOptions =
458+ type CreateFilterOptionsOptions < 'option > =
459459 abstract ignoreAccents: bool with get, set
460460 abstract ignoreCase: bool with get, set
461461 abstract matchFrom: AutocompleteMatchFrom with get, set
You can’t perform that action at this time.
0 commit comments