Skip to content

Commit

Permalink
fix: disable any rule on shims
Browse files Browse the repository at this point in the history
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
  • Loading branch information
vinayakkulkarni committed Mar 24, 2024
1 parent 487f846 commit 4c6a475
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shims/ping.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
declare module 'ping.js' {
export type CallbackFunc = (err: boolean, ping: number) => void;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type PingFunc = (source: string, cb?: CallbackFunc) => Promise<any>;
export default class Ping {
ping: PingFunc;
Expand Down

0 comments on commit 4c6a475

Please sign in to comment.