Pin @types/lodash to 3.10.2

Revert workaround for @types/lodash 3.10.3 and pin version to 3.10.2
until more research can be done.
This commit is contained in:
Skyler Kehren
2020-04-22 20:46:19 +03:00
parent 7907d3c819
commit bfb6d29857
2 changed files with 1 additions and 8 deletions

View File

@@ -35,7 +35,7 @@
"@rollup/plugin-multi-entry": "^3.0.0", "@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^7.1.3", "@rollup/plugin-node-resolve": "^7.1.3",
"@types/chai": "^4.1.6", "@types/chai": "^4.1.6",
"@types/lodash": "^3.10.3", "@types/lodash": "3.10.2",
"@types/mocha": "^5.2.5", "@types/mocha": "^5.2.5",
"@types/node": "^13.13.1", "@types/node": "^13.13.1",
"@types/screeps": "^3.1.0", "@types/screeps": "^3.1.0",

7
src/types.d.ts vendored
View File

@@ -1,12 +1,5 @@
// example declaration file - remove these and add your own custom typings // 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 // memory extension samples
interface CreepMemory { interface CreepMemory {
role: string; role: string;