![]() A Dex#modid method has also been added which returns the current mod applied to the The Dex#mod and Dex.forGen methods will throw if an unsupported mod/gen is Required for additional formats, and support for Other Metagames can be acheived with the modifiedĭex#mod method. However, the package provides the information With Pokémon Showdown, but after that only the canconical genN mods are supported (no Stadium, Generation 9 as the base mod is supported as ![]() only Gens 1 - 9 are supported, no other mods.index.ts files have been added to each of the generations in data/. ![]() With explicit import and export statements the TypeScript compiler better able to detect typeĮrrors. Pokémon Showdown's internal type setup is alsoįairly convoluted - because of global definitions there is quite a bit of merging going on and When used externally without these additions. Internally, Pokémon Showdown uses global typeĭefinitions which are not accessible to third-party developers and the code will not type check Package with TypeScript without type errors. import and export statements have been added as needed to allow consumers to use this.Pokémon Showdown's sim/ directory has been modified in the following ways: Parcel, etc) to minimize it and package it with the rest of your The recommended way of using in a web browser is to configure your bundler The long-open PR attempting to document the simulator's inner ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |