Skip to content
This repository has been archived by the owner on Mar 22, 2020. It is now read-only.

Latest commit

 

History

History
31 lines (21 loc) · 384 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 384 Bytes

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