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

Missing previously exported class TypedEvent of ix-angular #1408

Closed
2 tasks done
ttwiesal opened this issue Jul 29, 2024 · 0 comments · Fixed by #1409
Closed
2 tasks done

Missing previously exported class TypedEvent of ix-angular #1408

ttwiesal opened this issue Jul 29, 2024 · 0 comments · Fixed by #1409
Labels
type: bug Something isn't working

Comments

@ttwiesal
Copy link

Prerequisites

  • I have read the Contributing Guidelines.
  • I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

What happened?

After updating from @siemens/ix-angular@v2.1.0 to v2.4.0 I get the error Module '"@siemens/ix-angular"' has no exported member 'TypedEvent'.ts(2305) when importing TypedEvent import { TypedEvent } from '@siemens/ix-angular';

It was removed in: #1184

I use the class to set a return type for a method. Please export TypedEvent again.

What type of frontend framework are you seeing the problem on?

Angular

Which version of iX do you use?

v2.4.0

Code to produce this issue.

import { TypedEvent } from '@siemens/ix-angular';

showIxMessage: (
      title: string,
      message: string,
      textOkay: string,
      textCancel?: string,
      payloadOkay?: unknown,
      payloadCancel?: unknown,
    ) => Promise<
      TypedEvent<{
        actionId: string;
        payload: unknown;
      }>>
@ttwiesal ttwiesal added the triage We discuss this topic in our internal weekly label Jul 29, 2024
@danielleroux danielleroux added type: bug Something isn't working and removed triage We discuss this topic in our internal weekly labels Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants