You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sim/dex.js(87,7): error TS2322: Type 'string[]' is not assignable to type '("Pokedex" | "FormatsData" | "Learnsets" | "Movedex" | "Statuses" | "TypeChart" | "Scripts" | "It...'.
Type 'string' is not assignable to type '"Pokedex" | "FormatsData" | "Learnsets" | "Movedex" | "Statuses" | "TypeChart" | "Scripts" | "Ite...'.
This code doesn't seem to be an error if I leave it alone in its own file, but for some reason, when part of a larger file, it's telling me something is wrong.
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
TypeScript Version: nightly (2.4.0-dev.20170516)
Code
Expected behavior:
No error
Actual behavior:
This code doesn't seem to be an error if I leave it alone in its own file, but for some reason, when part of a larger file, it's telling me something is wrong.
This can be reproduced in https://github.com/Zarel/Pokemon-Showdown/tree/149ca3759c141085d2f473fc9fdc5da5371ef32c
The text was updated successfully, but these errors were encountered: