Invalid types delcaration


#1

In @ionic/pro the file definitions.d.ts has the follow declaration:

export interface App {
    ...
    getPlugin(): Promise<Window['IonicCordova']>;
but the `index.d.ts` has : 

declare class Pro implements App {
    ...
    getPlugin(): Promise<Window['IonicCordova'] | undefined>;