DefinitelyTyped Lodash
问题 I want to import single function from lodash while preserving typings. Such as this: import invokeMap from 'lodash/invokeMap'; But it seems that I cannot do so. Compiler says that there is no module lodash/invokeMap . It's correct — DefinitelyTyped declares only top-level module for lodash , so I can import only the whole package. But I want to import only one function. Is there a way to import only typings information about lodash without importing lodash itself? Below is my workaround plan.