Closed nasserghiasi closed 6 years ago
the main repository fixed this issue, please remove this fork.
Having same issue. Please tell how to fix this.
Try to use this import statement
import { UiSwitchModule } from 'ngx-toggle-switch/src'
I have brought this repo up to date with the upstream repo, so it brings in all the AOT, NG5, bugfix goodies. Please note, the new version builds on Angular 5, hopefully you can update.
By the way the new version is now also published to NPM: https://www.npmjs.com/package/ngx-toggle-switch
ERROR in : Unexpected value 'UiSwitchModule in /project/node_modules/ngx-toggle-switch/dist/index.d.ts' imported by the module 'AppModule in /project/src/app/app.module.ts'. Please add a @NgModule annotation.