Don't typehint with resource as it is not supported