Skip to content
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

error trying to adapt code from demo: config factory #87

Open
figuerres opened this issue Jan 30, 2020 · 0 comments
Open

error trying to adapt code from demo: config factory #87

figuerres opened this issue Jan 30, 2020 · 0 comments

Comments

@figuerres
Copy link

figuerres commented Jan 30, 2020

providers: [{ provide: ODataConfiguration, useFactory: TradeODataConfigurationFactory }, ODataServiceFactory],

at runtime i get
ERROR Error: Uncaught (in promise): TypeError: Class constructor TradeODataConfigurationFactory cannot be invoked without 'new' TypeError: Class constructor TradeODataConfigurationFactory cannot be invoked without 'new'

not sure if this has to do with the new angular / tsconfig default target of es2015 ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant