Afternoon,
I'm using angular 4 in a projects and when i try to use the latest version of ngx-mask 2+ e get these errors.

But when i put the 1.0.3 it works, but with a lot of bugs...
My package.json
"dependencies": {
"@angular/animations": "4.4.6",
"@angular/common": "4.4.6",
"@angular/compiler": "4.4.6",
"@angular/core": "4.4.6",
"@angular/forms": "4.4.6",
"@angular/http": "4.4.6",
"@angular/platform-browser": "4.4.6",
"@angular/platform-browser-dynamic": "4.4.6",
"@angular/router": "4.4.6",
"class-validator": "0.7.1",
"core-js": "2.5.1",
"ngx-mask": "^2.1.11",
"rxjs": "5.5.5",
"zone.js": "0.8.18"
},
I have the same problem
@lfaguiar @jl91 We going to add v4 v5 for capability use it with Angular 4 and Angular 5
Just for a while, to use the latest develop version in angular 4.4.6 i made a fork.
I checked this in angular 4.4.7 All worked great
Please update your angular version before 4.4.7 + and update ngx-mask version 6+
Most helpful comment
@lfaguiar @jl91 We going to add v4 v5 for capability use it with Angular 4 and Angular 5