Skip to content

Commit

Permalink
fix: linting (#95)
Browse files Browse the repository at this point in the history
Removes ignore and fixes linting error.
  • Loading branch information
achingbrain committed Jan 6, 2022
1 parent 85e2951 commit bd7b517
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { Multiaddr } from '@multiformats/multiaddr'

// eslint-disable-next-line etc/prefer-interface
export type MatchesFunction = (a: string | Uint8Array | Multiaddr) => boolean
// eslint-disable-next-line etc/prefer-interface
export type PartialMatchesFunction = (protos: string[]) => boolean | string[] | null
export interface MatchesFunction { (a: string | Uint8Array | Multiaddr): boolean }
export interface PartialMatchesFunction { (protos: string[]): boolean | string[] | null }

export interface Mafmt {
toString: () => string
Expand Down

0 comments on commit bd7b517

Please sign in to comment.