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

I got this Type Error with @egjs/ngx-flicking #760

Closed
biondiBagasta opened this issue Dec 3, 2022 · 2 comments
Closed

I got this Type Error with @egjs/ngx-flicking #760

biondiBagasta opened this issue Dec 3, 2022 · 2 comments
Assignees
Labels
🔖4.x v4.x~ related issue 📦Angular @egjs/ngx-flicking related issue ❓Question Asking question about @egjs/Flicking

Comments

@biondiBagasta
Copy link

biondiBagasta commented Dec 3, 2022

@egjs/component/declaration/types.d.ts

(type parameter) T in type EventTriggerParams<T, K extends EventKey<T>>
Type 'T' does not satisfy the constraint 'EventMap'.ts(2344)
types.d.ts(10, 40): This type parameter might need an `extends EventMap` constraint.

Angular Version: 15

@malangfox malangfox self-assigned this Dec 3, 2022
@malangfox malangfox added ❓Question Asking question about @egjs/Flicking 📦Angular @egjs/ngx-flicking related issue 🔖4.x v4.x~ related issue labels Dec 3, 2022
@malangfox
Copy link
Contributor

Hello @biondiBagasta.

We would like to know more about the environment which this error occurs.
Are you getting these errors when building your Angular application?
Also, we would like to know which version of typescript you are using.

@malangfox
Copy link
Contributor

This seems to happen in our component when using typescript 4.8 or higher.
You can temporarily avoid the error by adding "skipLibCheck": true to tsconfig.json.
We will leave a comment when a version fixes this issue is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔖4.x v4.x~ related issue 📦Angular @egjs/ngx-flicking related issue ❓Question Asking question about @egjs/Flicking
Projects
None yet
Development

No branches or pull requests

2 participants