diff --git a/cordova-plugin-hms-push/types/index.d.ts b/cordova-plugin-hms-push/types/index.d.ts new file mode 100644 index 00000000..53a035e6 --- /dev/null +++ b/cordova-plugin-hms-push/types/index.d.ts @@ -0,0 +1,11 @@ +import * as HmsPushOriginal from './HmsPush'; +import * as HmsLocalNotificationOriginal from './HmsLocalNotification'; +import * as HmsPushEventOriginal from './HmsPushEvent'; +import * as HmsPushProfileOriginal from './HmsPushProfile'; + +declare global { + const HmsPush: typeof HmsPushOriginal; + const HmsLocalNotification: typeof HmsLocalNotificationOriginal; + const HmsPushEvent: typeof HmsPushEventOriginal; + const HmsPushProfile: typeof HmsPushProfileOriginal; +}