-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular cli compile errors #119
Comments
@karl04 which Filterizr version are you using? Can you share also a code snippet please of where the error is happening? |
@giotiskl I'm using version filterizr": "^2.2.3" when I run the ng build command, it throws the above errors |
@karl04 can you share the code snippet where you import/use Filterizr or are the errors simply thrown by adding filterizr to your node modules and runing the ng build command? It looks like there's some problem with the type declarations shipped with Filterizr, adding to your
I'll have to look more into this |
the errors simply thrown by adding filterizr to node modules and running the ng build command. yes it compiles with the flag enabled, but is there a way to just skip checking for this module? |
@karl04 could you please also share the contents of your As far as I know the The thing is that some times libraries have a less (or more) strict tsconfig than your own which can cause incompatibilities. Although based on the error you get it looks like some types are not exported properly. I couldn't reproduce it yet unfortunately. |
{ "exclude": ["./node_modules"], |
I also had the same error with ionic 4. Any solution ? |
I have integrated the plugin into my project but when I go to compile using the angular cli, I get the following error
ERROR in node_modules/filterizr/dist/FilterContainer.d.ts(1,10): error TS2305: Module '"/Users/work/project/project1/node_modules/filterizr/dist/FilterizrOptions/defaultOptions"' has no exported member 'RawOptionsCallbacks'
node_modules/filterizr/dist/FilterItems.d.ts(1,10): error TS2305: Module '"/Users/work/project/project1/node_modules/filterizr/dist/ActiveFilter"' has no exported member 'Filter'.
Is this module compatible with angular cli?
The text was updated successfully, but these errors were encountered: