This is a followup to https://discord.com/channels/508357248330760243/1439616726139670528
It turns out that @types/screeps from DefinitelyTyped is developed in https://github.com/screepers/typed-screeps. I am trying to get a npm link version of that repo to work.
I've cloned the typed-screeps repo, done npm link there to link it to my global node_modules, then done npm rm @types/screeps && npm link typed-screeps in the project where I'm using screeps types.
That project has a node_modules/typed-screeps/dist/index.d.ts containing the types I need.
However, those types aren't being picked up by TS in the project in the way that @types/screeps types were.
I feel like I've missed just one last step in getting this sort of development environment set up.