diff --git a/fn/thread.ts b/fn/thread.ts index 25136fc..4dce67f 100644 --- a/fn/thread.ts +++ b/fn/thread.ts @@ -2,10 +2,9 @@ import * as R from 'ramda' type Transformer = (value: any) => any -// eslint-disable-next-line @typescript-eslint/no-explicit-any const pipe = R.pipe as unknown as (...fs: Transformer[]) => (value: any) => any -export const thread = (value: any, ...fs: Transformer[]) => { +export const thread = (value: any, fs: Transformer[]) => { const transform = pipe(...fs) return transform(value)