Skip to content

LocalDockerImageProps has required imageTag and port, but are optional on LocalDockerImage

LocalDockerImageProps in cloud/docker has imageTag and port as required fields, but defaultProps has default values for these which means they are actually not required on LocalDockerImage. Thus, the LocalDockerImageProps type does not work as the type for props of a component designed to be compatible with LocalDockerImage but doesn't have its own defaultProps.