/tdlib-typings

Generates Flow and TypeScript typings for TDLib. Moved to the tdl repository.

Primary LanguageJavaScriptMIT LicenseMIT

tdlib-typings

Generates Flow and TypeScript typings from td_api.tl file.


Installation

git clone https://github.com/Bannerets/tdlib-typings.git tdlib-typings
npm install
npm run build

Usage

$ node dist [path/to/tl/file]

Flow

$ node dist > filename.js

TypeScript

$ node dist --ts > filename.ts