After upgrading VSCode, I noticed a change in the way namespaces are imported when I press Ctrl + dot. Now, the paths look like:
import { Store } from '../../../../node_modules/@ngrx/store';
instead of
import { Store } from '@ngrx/store';
Previously, this was not the case and it has suddenly started happening for all imports.