Skip to content

'BluetoothState' only refers to a type, but is being used as a value here. #58

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

Open
MathisBarre opened this issue Jan 7, 2022 · 1 comment

Comments

@MathisBarre
Copy link

When using the Declarative API with the last minor version (1.3.2), TypeScript throw 'BluetoothState' only refers to a type, but is being used as a value here..

I think it's only due to bad typing that was only designed for the "standard" API.

If you encounter the issue, juste go back to 1.3.1 with an // @ts-ignore annotation at the line above the import.

@landonwjohnson
Copy link

Yeah, someone needs to fix this

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