mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-21 06:37:09 -05:00
This commit changes the TypeScript global variable of `Config` from `AnyObject` to `Config & AnyObject`. It still falls back to `AnyObject` (hence the 'Take steps') because of the main-specific `Config` properties that are used without being in the `Config` object itself. These can be added by someone with access to the PS main server. Regardlesss, this is an improvement as IntelliSense can display and autocomplete the known properies. In addition, the TypeScript compiler will now report bugs concerning the types of the properties, which I have fixed in this commit. |
||
|---|---|---|
| .. | ||
| generator-elimination.ts | ||
| generator-round-robin.ts | ||
| index.ts | ||