danpaz / bodybuilder

An elasticsearch query body builder :muscle:

Home Page:http://bodybuilder.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Embed types into the source code

johnnyraphic opened this issue · comments

Embed types into the source code and not only into the bodybuilder.d.ts file which would be easier to maintane with further changes to the API.

Currently im trying to use es6 imports and using the bodybuilder object and it seems to be a lot more trouble than it needs to be in a typescript project imo.

I would like to start working on migrating to ts this weekend but would first want to know if it is even desierd and secoundly if there are any prerequists to start working on this issue.

I would like to add better support to ts in this project since I was about to consider not using it in the project im working on atm but this project is a great idea and for me the TS support is a bit lacking for my use.

Thanks in advance, John :)