yuyang041060120 / angular2-ui-switch

angular2 ui switch component
http://yuyang041060120.github.io/angular2-ui-switch
MIT License
57 stars 36 forks source link

[FIX] : ng build failed #13

Open farfara1987 opened 7 years ago

farfara1987 commented 7 years ago

getColor(flag) become getColor(flag?:string)

ng buil --prod
C:/app/{Project_Name}/src/$$_gendir/node_modules/angular2-ui-switch/src/ui-switch.component.ngfactory.ts (238,28): Supplied parameters do not match any signature of call target.