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

Bun.build Incorrect type | 不正确的类型 #15536

Open
vamsaya opened this issue Dec 2, 2024 · 0 comments · May be fixed by #15626
Open

Bun.build Incorrect type | 不正确的类型 #15536

vamsaya opened this issue Dec 2, 2024 · 0 comments · May be fixed by #15626
Assignees
Labels
bug Something isn't working bundler Something to do with the bundler

Comments

@vamsaya
Copy link

vamsaya commented Dec 2, 2024

What version of Bun is running?

No response

What platform is your computer?

No response

What steps can reproduce the bug?

When the imported text is empty, it will return a value of type Object, which is incorrect and should return an empty string.
当导入的文本为空时,将返回Object类型的值,这是错误的,应该返回空字符串。
Image
Image
Image
Image

var a_default = {};

var a_default = "";

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

@vamsaya vamsaya added bug Something isn't working needs triage labels Dec 2, 2024
@RiskyMH RiskyMH added bundler Something to do with the bundler and removed needs triage labels Dec 2, 2024
@pfgithub pfgithub self-assigned this Dec 6, 2024
@pfgithub pfgithub linked a pull request Dec 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bundler Something to do with the bundler
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants