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

Not able to import BufferEncoding as described #1225

Open
harrydowning opened this issue Nov 30, 2024 · 1 comment
Open

Not able to import BufferEncoding as described #1225

harrydowning opened this issue Nov 30, 2024 · 1 comment
Assignees
Labels
reference-docs Issues affecting the reference docs part of the site (/api)

Comments

@harrydowning
Copy link

deno 2.1.2 (stable, release, aarch64-apple-darwin)
v8 13.0.245.12-rusty
typescript 5.6.2
denoland.vscode-deno: v3.42.0
@types/[email protected]

Not able to import BufferEncoding like these docs suggest

image

@marvinhagemeister marvinhagemeister added the bug Something isn't working label Dec 1, 2024
@dsherret dsherret transferred this issue from denoland/deno Dec 2, 2024
@dsherret
Copy link
Member

dsherret commented Dec 2, 2024

In this case, the docs are wrong. You can get BufferEncoding off the NodeJS global (ex. NodeJS.BufferEncoding)

@dsherret dsherret changed the title Not able to import BufferEncoding Not able to import BufferEncoding as described Dec 2, 2024
@thisisjofrank thisisjofrank added reference-docs Issues affecting the reference docs part of the site (/api) and removed bug Something isn't working labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reference-docs Issues affecting the reference docs part of the site (/api)
Projects
None yet
Development

No branches or pull requests

5 participants