TL;DR: temporal vs. spatial coherence.
To add to other answers: there exist time coherence (or temporal coherence) and spatial coherence. While the former results from the presence/lack of correlation between the light/photons emitted at the same point at different moments of time, the latter refers to the fact that the light emitted by different parts of an extended light source might be not correlated.
A single slit or a pinhole filters out most of the light coming from the source, leaving only the light coming from a particular direction, i.e., particular place in the object. This, on the one hand, reduces the overall light intensity, but, on the other hand removes the interference due to the waves coming from from difference point sources. This does not make light coherent in time, but this is usually sufficient for the interference experiments. Note that camera obscura and pinhole camera use the same principle.