I used to be able to use a lodash method in Angular by an import statement that looked like the following:
import {debounce as _debounce} from \'lodash\';
This solved it for me, as written under "updated" by Kuncevič and edited by Roy
yarn add lodash-es
yarn add @types/lodash-es --dev
import { debounce as _debounce } from 'lodash';
I had to import the es-modules, else I was given compilation errors - most likely due to my configuration (tsconfig.json).