pokemon-showdown/server/tournaments
Waleed Hassan a518cf102a Take steps to statically type Config (#5920)
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.
2019-10-30 18:45:20 +10:30
..
generator-elimination.ts Server: Use readonly where appropriate (#5902) 2019-10-21 16:12:32 +10:30
generator-round-robin.ts Server: Use readonly where appropriate (#5902) 2019-10-21 16:12:32 +10:30
index.ts Take steps to statically type Config (#5920) 2019-10-30 18:45:20 +10:30