Skip to content

Commit

Permalink
style: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Mar 4, 2021
1 parent 7528854 commit 63d3c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/ts/pipes/httpBatch.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { HttpMethod, Extends } from '@qiwi/substrate'
import { Extends, HttpMethod } from '@qiwi/substrate'

import { IPipe } from '../interfaces'
import { IHttpHeaders } from './http'
Expand All @@ -12,7 +12,7 @@ export type IHttpBatchPipeOpts = {
}

const asArray = <T>(value: T): Extends<T, any[], T, T[]> =>
(Array.isArray(value) ? value: [value]) as Extends<T, any[], T, T[]>
(Array.isArray(value) ? value : [value]) as Extends<T, any[], T, T[]>

export const createHttpBatchPipe = ({
url,
Expand Down

0 comments on commit 63d3c68

Please sign in to comment.