Skip to content

Commit

Permalink
Fix eslint in common package
Browse files Browse the repository at this point in the history
  • Loading branch information
EmiM committed Jun 16, 2023
1 parent 555fdd7 commit 3111762
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/common/src/channelAddress.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import crypto from 'crypto'

export const generateChannelId = (channelName: String) =>
export const generateChannelId = (channelName: string) =>
`${channelName}_${crypto.randomBytes(16).toString('hex')}`

export const getChannelNameFormChannelId = (channelId: string) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/process.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SupportedPlatform } from '@quiet/types'
import { type SupportedPlatform } from '@quiet/types'

export const hangingBackendProcessCommand = ({
backendBundlePath,
Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/sortPeers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NetworkStats } from '@quiet/types'
import { type NetworkStats } from '@quiet/types'
import { isDefined } from './helpers'

/**
Expand Down

0 comments on commit 3111762

Please sign in to comment.