DanielXMoore / Civet

A TypeScript superset that favors more types and less typing

Home Page:https://civet.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pipe after implicit object is incorrect

STRd6 opened this issue · comments

fetch(url)
  |> await
  |> .arrayBuffer()
  |> await 
  |> new Blob [.], type: "application/javascript"
  |> URL.createObjectURL
  |> new Worker

This has an unintuitive parse where the value of the implicit object becomes piped instead of the entire line:

new Blob([(await (await fetch(url)).arrayBuffer())], {type: new Worker(URL.createObjectURL("application/javascript"))})