riot-api-typedef
v1.2.6
Published
Create enums to represent constant values in the documentation.
Maintainers
Readme
TypeScript type definitions for the Riot API
Purely the response structures returned by various components from https://developer.riotgames.com/api-methods/.
To install the package, run
npm install --save-dev riot-api-typedefThe interfaces are all grouped together in a namespace that is imported where its can be accessed.
For an example,
import { LeagueV4 } from 'riot-api-typedef';
let entry: LeagueV4.LeagueEntryDto = /* Code here */