Can we define/change the type of data in ModalController

Hi All,

Can some one suggest if we can define/change the type of data from the below from any to a specific type or can we override the type definition file for internal use?

(method) ModalController.create(component: any, data?: any, opts?: ModalOptions): Modal

Thanks,
Sandeep