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

[@types/fullpage.js] 'fullpage.js/index.d.ts' is not a module #36500

Closed
4 tasks done
Fuego314 opened this issue Jun 27, 2019 · 3 comments
Closed
4 tasks done

[@types/fullpage.js] 'fullpage.js/index.d.ts' is not a module #36500

Fuego314 opened this issue Jun 27, 2019 · 3 comments

Comments

@Fuego314
Copy link

If you know how to fix the issue, make a pull request instead.

When trying to import fullpage.js I get the error:
File 'c:/.../node_modules/@types/fullpage.js/index.d.ts' is not a module.

If I add the following line to the base of the fullpage.js/index.d.ts file:
export = FullPageJs; the error dissapears. Is this the correct fix?

@tqwewe
Copy link
Contributor

tqwewe commented Jul 29, 2019

Any solution to this? I'm also experiencing this issue.

@nhtoby311
Copy link

Any fix guys? I also got this issue

@orta orta closed this as completed Aug 3, 2021
@orta
Copy link
Collaborator

orta commented Aug 3, 2021

Hi thread, we're moving DefinitelyTyped to use GitHub Discussions for conversations the @types modules in DefinitelyTyped.

To help with the transition, we're closing all issues which haven't had activity in the last 6 months, which includes this issue. If you think closing this issue is a mistake, please pop into the TypeScript Community Discord and mention the issue in the definitely-typed channel.

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

4 participants