Skip to content

Commit a7143e2

Browse files
committed
fix: disable eslint error for exported interfaces due to errors
1 parent 3e57d23 commit a7143e2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/draft.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ interface RadioGroupOptions {
3838
group: Buffer | string
3939
}
4040

41+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
4142
export interface Radio extends Writable<MessageLike, [RadioGroupOptions]> {}
4243
Object.assign(Radio.prototype, {send})
4344

@@ -66,6 +67,7 @@ interface DishGroupOptions {
6667
group: Buffer
6768
}
6869

70+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
6971
export interface Dish extends Readable<[Message, DishGroupOptions]> {}
7072
Object.assign(Dish.prototype, {receive})
7173

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,7 @@ export class Publisher extends Socket {
10261026
}
10271027
}
10281028

1029+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
10291030
export interface Publisher extends Writable {}
10301031
Object.assign(Publisher.prototype, {send})
10311032

@@ -1125,6 +1126,7 @@ export class Subscriber extends Socket {
11251126
}
11261127
}
11271128

1129+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
11281130
export interface Subscriber extends Readable {}
11291131
Object.assign(Subscriber.prototype, {receive})
11301132

0 commit comments

Comments
 (0)