type-l
This project only exists because and is entirely based on projects like:
Building schema
const tl = ;const gulp = ; gulp;
Dynamically Built Types usage
// Of course you can use a better approach like `mtproto/index.js` or something like that; { superoptions; } const msgContainer = props: msgs: type: 'mtproto.msg' list: props: msgId: '0x' + crypto body: props: pain: crypto ; const buffer = msgContainer;
If you want to build your type files dynamically. Check our example on build-test-schema.js.
Looking for usage example? Check it out test/SchemaBuilder.js
Running tests
First the basics
git clone https://github.com/VictorQueiroz/type-l
cd type-l
Executing the tests is pretty much like:
npm install
npm test