Skip to content

Commit 33aeb06

Browse files
authored
🤖 Merge PR DefinitelyTyped#74029 @types/dockerode: Update inspect method return type to Promise<NetworkInspectInfo> by @simonrey1
1 parent 48ae043 commit 33aeb06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎types/dockerode/index.d.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ declare namespace Dockerode {
283283
modem: any;
284284
id: string;
285285

286-
inspect(callback: Callback<any>): void;
287-
inspect(): Promise<any>;
286+
inspect(callback: Callback<NetworkInspectInfo>): void;
287+
inspect(): Promise<NetworkInspectInfo>;
288288

289289
remove(options: {}, callback: Callback<any>): void;
290290
remove(callback: Callback<any>): void;

0 commit comments

Comments
 (0)