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 Types #245

Open
wh1337 opened this issue Oct 15, 2024 · 3 comments
Open

Missing Types #245

wh1337 opened this issue Oct 15, 2024 · 3 comments

Comments

@wh1337
Copy link

wh1337 commented Oct 15, 2024

Looks like the types are not being exported when installing:

image
@wh1337
Copy link
Author

wh1337 commented Oct 15, 2024

Found it, however might need to update the docs:

import { MomentSvelteGanttDateAdapter, SvelteGantt } from 'svelte-gantt/svelte';

@wh1337 wh1337 closed this as completed Oct 15, 2024
@wh1337 wh1337 reopened this Oct 15, 2024
@wh1337
Copy link
Author

wh1337 commented Oct 15, 2024

While intially I was importing SvelteGantt from the wrong directory sub directory, when importing from the correct sub directory and following the installation steps, I'm getting the following error.

image

@FilipSzutkowski
Copy link

While intially I was importing SvelteGantt from the wrong directory sub directory, when importing from the correct sub directory and following the installation steps, I'm getting the following error.

image

I am having the same issue, is there a fix not requiring manually creating types for the component?

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

No branches or pull requests

2 participants