Remove declare statement from type definitions