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

table.d.ts contains imports with missing types #9

Closed
adamboerema opened this issue Jun 10, 2021 · 2 comments · Fixed by #12
Closed

table.d.ts contains imports with missing types #9

adamboerema opened this issue Jun 10, 2021 · 2 comments · Fixed by #12

Comments

@adamboerema
Copy link

import type clear from "./table/clear"

It appears the generated TS type definitions from Lua are including a table definition that does not have have a matching import. Looking at the documentation I would assume that typescript doesn't have any use for the Lua tables but it is causing an issue with typescript transpilation.

@fffonion
Copy link
Contributor

@adamboerema You are right, this definition was added by a automation script but it is indeed not used anywhere.
I will open a PR to remove it.

@adamboerema
Copy link
Author

Appreciate it!

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

Successfully merging a pull request may close this issue.

2 participants