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

fix(angular): fix initAndStart missing parameter #759

Closed
wants to merge 4 commits into from

Conversation

ls-infra
Copy link
Contributor

@ls-infra ls-infra commented Oct 7, 2024

fixed below issue :

Error: src/app/app.component.ts:23:27 - error TS2554: Expected 2 arguments, but got 1.

23             await wrapper.initAndStart(jsonClientUserConfig);
                             ~~~~~~~~~~~~

  ../../packages/wrapper/dist/wrapper.d.ts:39:48
    39     initAndStart(wrapperConfig: WrapperConfig, htmlElement: HTMLElement | null): Promise<void>;
                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    An argument for 'htmlElement' was not provided.

related to #757

@kaisalmen
Copy link
Collaborator

Hi @ls-infra thank you. The Angular verification example seems to be broken on main during runtime. The code issues are already fixed there. I need to investigate. I guess that I broke it recently. I may ask you to rebase this PR later.

@kaisalmen
Copy link
Collaborator

@ls-infra thank you. I have directly integrated this.

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

Successfully merging this pull request may close these issues.

2 participants