We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Started a new project and created index.ts with this inside:
index.ts
import Bao from "baojs"; const app = new Bao();
But the new Bao() is underlined with the following error:
new Bao()
This expression is not constructable. Type 'typeof import("/path/to/project/node_modules/baojs/dist/index")' has no construct signatures.
I'm using version 0.2.1.
The text was updated successfully, but these errors were encountered:
Running into this issue as well.
Sorry, something went wrong.
I'll try to reproduce, what version of Bun are you running?
0.5.1
I am running into this issue as well.
bun init
bun add baojs
I got exactly the same error. Using Bun v0.5.8 and Bao 0.2.1. I tried on intel macbook and m1 macbook.
No branches or pull requests
Started a new project and created
index.ts
with this inside:But the
new Bao()
is underlined with the following error:I'm using version 0.2.1.
The text was updated successfully, but these errors were encountered: