Having error when add Device in provider

Hello!
I would like to use the ionic Device plugin to get the IMEI of the device on which my application is running.
I managed to install the plugin but when I try to add it in the providers, I have the error:
Type ‘DeviceOriginal’ is not assignable to type ‘Provider’.
Type ‘DeviceOriginal’ is missing the following properties from ‘FactoryProvider’ type: provide, useFactory [2322]

here is the information of my environment:

 @ ionic / cli-utils: 1.19.3
 ionic (Ionic CLI): 3.20.1

global packages:

 cordova (Cordova CLI): 8.1.2 (cordova-lib@8.1.1)

local packages:

 @ionic / app-scripts: 3.2.1
 Cordova Platforms: none
 Ionic Framework: ionic-angular 3.9.2

System:

 Android SDK Tools: 25.2.5
 Node: v6.11.0
 npm: 3.10.10
 OS: Windows 8

Environment Variables:

 ANDROID_HOME: C: \ sdk

Misc:

 backend: pro

thank you for helping me

Line 3 of your code is wrong…

(Which I of course I can’t know as you didn’t post any code. Please do so, otherwise it is impossible to tell you what is wrong with it.)