Skip to content

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

@figuerres

Description

@figuerres
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 ??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions