Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

bun-types is missing Bun.file().json() aka FileBlob.json() #6

Closed
paperdave opened this issue Jul 23, 2022 · 2 comments
Closed

bun-types is missing Bun.file().json() aka FileBlob.json() #6

paperdave opened this issue Jul 23, 2022 · 2 comments

Comments

@paperdave
Copy link
Member

paperdave commented Jul 23, 2022

Version

0.1.5

What steps will reproduce the bug?

bun-types@0.1.4 used to have .json() but as of 0.1.4 it doesn't.

i am on bun 0.1.5 and the function continues to work.

What do you see instead?

Property 'json' does not exist on type 'FileBlob'. ts(2339)

@xhyrom xhyrom transferred this issue from oven-sh/bun Jul 28, 2022
@paperdave
Copy link
Member Author

okay now that this is it's own repo i could probably fix this really easily. might give it a go if i have time.

@xhyrom
Copy link
Collaborator

xhyrom commented Jul 28, 2022

.json() exists in FileBlob

@xhyrom xhyrom closed this as completed Jul 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants