Added lodash

This commit is contained in:
kascheml 2022-12-05 18:40:26 +01:00
parent 1c77d64f6b
commit 5886708e37
3 changed files with 21 additions and 3 deletions

5
index.d.ts vendored
View file

@ -1,2 +1,7 @@
import "./console"
import "screeps"
import { LoDashStatic } from "lodash"
declare global {
const _: LoDashStatic;
}

16
package-lock.json generated
View file

@ -1,17 +1,24 @@
{
"name": "@kascheml/screeps-types",
"version": "0.0.1",
"version": "0.0.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@kascheml/screeps-types",
"version": "0.0.1",
"version": "0.0.3",
"license": "Apache-2.0",
"dependencies": {
"@types/lodash": "^4.14.191",
"@types/screeps": "^3.3.0"
}
},
"node_modules/@types/lodash": {
"version": "4.14.191",
"resolved": "https://npm.kascheml.de/@types%2flodash/-/lodash-4.14.191.tgz",
"integrity": "sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==",
"license": "MIT"
},
"node_modules/@types/screeps": {
"version": "3.3.0",
"resolved": "https://npm.kascheml.de/@types%2fscreeps/-/screeps-3.3.0.tgz",
@ -20,6 +27,11 @@
}
},
"dependencies": {
"@types/lodash": {
"version": "4.14.191",
"resolved": "https://npm.kascheml.de/@types%2flodash/-/lodash-4.14.191.tgz",
"integrity": "sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ=="
},
"@types/screeps": {
"version": "3.3.0",
"resolved": "https://npm.kascheml.de/@types%2fscreeps/-/screeps-3.3.0.tgz",

View file

@ -1,11 +1,12 @@
{
"name": "@kascheml/screeps-types",
"version": "0.0.2",
"version": "0.0.3",
"description": "TypeScript typings for Screeps",
"author": "Kascheml",
"license": "Apache-2.0",
"repository": "https://ihgit.de/screeps/screeps-types.git",
"dependencies": {
"@types/lodash": "^4.14.191",
"@types/screeps": "^3.3.0"
}
}