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

Incorrect TypeScript declarations #61

Open
moltar opened this issue Aug 24, 2020 · 1 comment
Open

Incorrect TypeScript declarations #61

moltar opened this issue Aug 24, 2020 · 1 comment

Comments

@moltar
Copy link

moltar commented Aug 24, 2020

For some reason, the generated ifvisible.js/ifvisible.d.ts type declaration file contains the following:

declare module "ifvisible" {
    module iVisible {

Which is an invalid module name, and this the types aren't being picked up.

Edit: this is for 1.0.6 version

@rosskevin
Copy link

@moltar I've fixed this issue in my fork: https://github.com/rosskevin/ifvisible/releases/tag/v3.0.0

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