-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong createConstructionSite() definition in dist/game/index.d.ts #23
Comments
I think that export was removed in one of the PRs I just merged in, are you saying this is wrong? and it should be exported from game/utils? typed-screeps-arena/dist/game/index.d.ts Lines 52 to 59 in b9b3a5f
|
the definition is wrong entirely, structureType isnt a string. so if you import from game you get invalid errors removing that definition and just exporting game/utils should fix it |
I kinda feel like just removing that definition entirely from game, not exporting it at all there, I think it's a leftover from alpha and the devs intend for it to live in utils? at least based on the docs. |
i think the fix is to just remove the definition, since the file exports the correct definitions via
export * from "game/utils"
related to #15
The text was updated successfully, but these errors were encountered: