Skip to content

Commit

Permalink
Fix String.replace binding
Browse files Browse the repository at this point in the history
  • Loading branch information
Sándor Rakonczai committed Feb 11, 2016
1 parent 57d9cf0 commit 8cc531d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib/WebSharper.JavaScript/Ecma.fs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ module Definition =
"lastIndexOf" => T<string> * !?T<int>?pos ^-> T<int>
"localeCompare" => T<obj> ^-> T<int>
"match" => (EcmaRegExp + T<string>) ^-> T<string []>
"replace" => (EcmaRegExp + T<string>) * (T<string> + T<Function>) ^-> T<string>
"replace" => (EcmaRegExp + T<string>) * (T<string> + (!+ T<obj> ^-> T<string>)) ^-> T<string>
"search" => !?EcmaRegExp ^-> T<int>
"slice" => T<int>?startPos * !?T<int>?endPos ^-> T<string>
"split" =>
Expand Down

0 comments on commit 8cc531d

Please sign in to comment.