Skyler Kehren

Results 29 comments of Skyler Kehren

It's been pointed out that my hotfix doesn't work / introduces other issues. Back to investigating how to handle lodash.

It works for me pretty much out of the box on a quick test. 1. Install the rollup plugin as a development dependency ```bash npm install -D rollup-plugin-terser ``` 2....

Referencing mozilla/source-map#331, I don't think it's possible to use versions higher than 0.6.1 which is what we're targeting. Is there is some new feature of `source-map` that you really need,...

The problem isn't inherently that it's an async library. Promises do exist and operate within the screeps game loop. The problem really comes from looking at _why_ `source-map` is async....

Interfaces are merged by the TS processor. Effectively, ``` -- @types/screeps interface CreepMemory {} ``` and ``` -- types.d.ts interface CreepMemory { role: string; } ``` should become merged into...

Thanks for the additional detail. I didn't fully understand that you were having troubles with running the test script. I had only tested the build script, which worked. I've been...

Well, by the time the script is running on the server, it is plain JS and types have nothing to do with it. If you're getting a runtime error because...

Could you provide a more inclusive example of what you're trying to do? AnyStructure['structureType'] doesn't extend STRUCTURE_SPAWN because it could also be any other structure type string literal. ``` type...

@adamtaylor13 Correct. There are certain structures which have stores that can contain any type of resource (ex. Container, Terminal) and then there are structures which have restricted stores (ex. Tower...

Thanks for that reminder as well. With `^3.8.3` npm wouldn't be pulling in any >= 4 version of Typescript. I've just pushed a lint/build dependency update for the starter project.