diff --git a/src/stdlib/WebSharper.JavaScript/Ecma.fs b/src/stdlib/WebSharper.JavaScript/Ecma.fs index ba9fbffa5..4b633e85b 100644 --- a/src/stdlib/WebSharper.JavaScript/Ecma.fs +++ b/src/stdlib/WebSharper.JavaScript/Ecma.fs @@ -102,7 +102,7 @@ module Definition = "lastIndexOf" => T * !?T?pos ^-> T "localeCompare" => T ^-> T "match" => (EcmaRegExp + T) ^-> T - "replace" => (EcmaRegExp + T) * (T + T) ^-> T + "replace" => (EcmaRegExp + T) * (T + (!+ T ^-> T)) ^-> T "search" => !?EcmaRegExp ^-> T "slice" => T?startPos * !?T?endPos ^-> T "split" =>