diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 824d99e3e..681a9e801 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "fable": { - "version": "4.5.0", + "version": "4.23.0", "commands": [ "fable" ] diff --git a/src/FSharpPlus/Extensions/String.fs b/src/FSharpPlus/Extensions/String.fs index 9fbce7015..270711026 100644 --- a/src/FSharpPlus/Extensions/String.fs +++ b/src/FSharpPlus/Extensions/String.fs @@ -42,15 +42,12 @@ module String = source.Contains subString - #if !FABLE_COMPILER - /// Does the source string start with the given subString? -- function wrapper for String.StartsWith method using InvariantCulture. let startsWith (subString: string) (source: string) = raiseIfNull (nameof subString) subString raiseIfNull (nameof source) source source.StartsWith (subString, false, CultureInfo.InvariantCulture) - #endif /// Does the source string end with the given subString? -- function wrapper for String.EndsWith method using InvariantCulture. let endsWith subString (source: string) =