Add type definitions for dojo