Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Function calls are not supported in decorators but BusyConfig was called. #20

Description

@edjm1971

I'm running under the following configurations
Angular CLI: 6.2.9
Node: 8.9.4
ng-busy: 6.2.0

In following your example with the following code
`@NgModule({

imports: [

        ...

        NgBusyModule.forRoot(new BusyConfig({...`

Running the build ng build --prod results in a build fail stating

Function calls are not supported in decorators but BusyConfig was called.

Is there something I'm missing that ought to be done?

Activity

  1. edjm1971 commented on Dec 13, 2019

    @edjm1971
    Author

    Also, it looks like this line
    constructor(@Inject('instanceConfigHolder') private instanceConfigHolder: InstanceConfigHolderService) {

    Should read as
    constructor(@Inject(InstanceConfigHolderService) private instanceConfigHolder: InstanceConfigHolderService) {

  2. eduartdoria commented on Jan 22, 2021

    @eduartdoria
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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