diff --git a/package.json b/package.json index a6dc1f5..f5fa816 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@rollup/plugin-multi-entry": "^3.0.0", "@rollup/plugin-node-resolve": "^7.1.3", "@types/chai": "^4.1.6", - "@types/lodash": "^3.10.3", + "@types/lodash": "3.10.2", "@types/mocha": "^5.2.5", "@types/node": "^13.13.1", "@types/screeps": "^3.1.0", diff --git a/src/types.d.ts b/src/types.d.ts index 6e34eff..00727b9 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -1,12 +1,5 @@ // example declaration file - remove these and add your own custom typings -// Shim to allow continued use of global lodash without having to explicitley import in every file. -// as of @types/lodash@3.10.3 -import _ from "lodash"; -declare global { - const _: typeof _; -} - // memory extension samples interface CreepMemory { role: string;