pokemon-showdown/dev-tools/globals.js
Guangcong Luo 149ca3759c Add classes for data
Having classes for data will make it better for documenting and make
for overall nicer code that's easier to statically analyze.
2017-05-17 04:10:01 -05:00

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() {}};