refactor: refine JSdoc definition, and use ts-check to check the file
refactor: refine JSdoc definition, and use ts-check to check the file

I also fix some type errors and added some notes about a bit of everything

It should be more easy to work with now

SimpliField/angular-sql-query