Add TypeScript definition file for Hopscotch