Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants