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

Export correct type #475

Closed
ar53n opened this issue Jul 28, 2020 · 2 comments
Closed

Export correct type #475

ar53n opened this issue Jul 28, 2020 · 2 comments

Comments

@ar53n
Copy link
Contributor

ar53n commented Jul 28, 2020

Hello, @verlok. I have one problem with typings. I can' t import LazyLoad instance type or options type, because in the library exports variable and not types and get that error.

'ILazyLoad' refers to a value, but is being used as a type here. Did you mean 'typeof ILazyLoad'?

declare var LazyLoad: ILazyLoad;
export default LazyLoad;

Can we exports all interfaces: options, instance? What do you think? Thanks.

@ar53n ar53n changed the title Export type Export correct type Jul 28, 2020
@ar53n
Copy link
Contributor Author

ar53n commented Aug 1, 2020

#477

@verlok
Copy link
Owner

verlok commented Aug 21, 2020

Just fixed in 17.1.2.
Thanks @ar53n
And sorry for the delay!

@verlok verlok closed this as completed Aug 21, 2020
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