first prototype of the typescript to boojs declarations script