Update Node,TypeScript,Rollup dependencies
@types/lodash@3.10.3 broke the template since lodash is assumed to be global. Adds a shim to types file to allow continued use of a global lodash since the game provides 3.10 automatically. Update rollup to 2.0, and associated rollup plugins
This commit is contained in:
7
src/types.d.ts
vendored
7
src/types.d.ts
vendored
@@ -1,5 +1,12 @@
|
||||
// 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;
|
||||
|
||||
Reference in New Issue
Block a user