Types definitions generator for https://mtproto-core.js.org/.
Made for DefinitelyTyped/DefinitelyTyped#63089
- Methods (params and results)
- Constuctors
- Interfaces
- Human-friendly description of interfaces params (TODO: scrape from https://core.telegram.org/ docs)
npm run build && npm run start
It downloads latest schema from https://core.telegram.org/schema/json, parses it and converts to TypeScript definitions. Then it writes result to '../index.d.ts' file (this project is intended to be used inside DefinitelyTyped_repository/types/mtproto__core/codegen/
directory).
Project structure auto-generated by Scaffold.