mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
The Ports field is a map of string to _array_ of Ip/Port objects, as you can see in the docs: https://docs.docker.com/engine/api/v1.32/#operation/ContainerInspect As a result of this error type checks are not being run. e.g. Doing `container.inspect().NetworkSettings.Ports['test'][0].BadField` will compile without error, despite `BadField` to existing in the interface. |
||
|---|---|---|
| .. | ||
| dockerode-tests.ts | ||
| index.d.ts | ||
| tsconfig.json | ||
| tslint.json | ||