diff --git a/additional-feature-ts.md b/additional-feature-ts.md index bda31e3..5308b3f 100644 --- a/additional-feature-ts.md +++ b/additional-feature-ts.md @@ -241,7 +241,7 @@ value |> f |> { try |> JSON.parse; - catch |> { message: #.message }; + catch |> ({ message: #.message }); } |> g(#, 1); ``` @@ -496,4 +496,4 @@ g (_1, 1); [WHATWG-stream piping]: https://streams.spec.whatwg.org/#pipe-chains [Wikipedia: term rewriting]: https://en.wikipedia.org/wiki/Term_rewriting [zero runtime cost]: ./goals.md#zero-runtime-cost - \ No newline at end of file +