Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Top-level declarations in .d.ts files must start with either a 'declar' or 'export' - tests failing #23

Open
PingItIn opened this issue May 28, 2024 · 0 comments

Comments

@PingItIn
Copy link

Hello,
we are trying to use your library in our project. So far it works very well, thanks! However, when we "build" our typescript application we get the following error:

node_modules/dictation_support/dist/index.d.ts:295:1 - error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

The reason for this error is, that the enum Command{...} doesn't have either an export nor a declare. When adding export/declare temporarily it works, so I wanted to create a PR, to fix the issue.

However, before creating the PR, I need run the tests which I can't get to work. I get the same issues as already described in this issue comment:
#17 (comment)

Do you have an idea why we run into these issues with the test? Would you be able to add export/declare to the Command enum?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant