Create typescript definition for hasher