Skip to content

Commit

Permalink
refactor: use function.pipe instead of pipeable.pipe
Browse files Browse the repository at this point in the history
* `pipeable.pipe` is deprecated in fp-ts 2.10.0
  • Loading branch information
yoshinorin committed Apr 9, 2022
1 parent d41b2e1 commit 5ea06cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/metals-languageclient/src/util.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TaskEither } from "fp-ts/lib/TaskEither";
import { pipe } from "fp-ts/lib/pipeable";
import { pipe } from "fp-ts/lib/function";
import * as E from "fp-ts/lib/Either";

export function toPromise<E, A>(te: TaskEither<E, A>): Promise<A> {
Expand Down

0 comments on commit 5ea06cb

Please sign in to comment.