mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-14 05:26:30 -05:00
Having classes for data will make it better for documenting and make for overall nicer code that's easier to statically analyze.
12 lines
371 B
JavaScript
12 lines
371 B
JavaScript
// var Dex = require('../sim/dex');
|
|
// var Sim = require('../sim/index');
|
|
|
|
/** @typedef {JSONObject | JSONArray | string | number | boolean} JSONValue */
|
|
/** @typedef {{[k: string]: JSONValue}} JSONObject */
|
|
/** @typedef {JSONValue[]} JSONArray */
|
|
/** @typedef {{[k: string]: any}} AnyObject */
|
|
/** @typedef {string} ID */
|
|
|
|
/** @type {any} */
|
|
// var Sim = {Battle() {}};
|