Don't hardcode module name in @types/lodash (#43684)

This forbit us from doing `yarn add @types/lodash3@npm:@types/lodash@^3.0.0` and use `lodash3` as module name.
This commit is contained in:
csr632
2020-04-18 06:50:09 +08:00
committed by GitHub
parent 889ffa1e56
commit 19adbdc47a

View File

@@ -5,7 +5,7 @@
declare var _: _.LoDashStatic;
declare module _ {
declare namespace _ {
interface LoDashStatic {
/**
* Creates a lodash object which wraps the given value to enable intuitive method chaining.
@@ -15912,6 +15912,5 @@ declare module _ {
}
}
declare module "lodash" {
export = _;
}
export = _;
export as namespace _;