-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Labels
docsImprovements or additions to documentationImprovements or additions to documentation
Description
What is the type of issue?
Documentation is incorrect
What is the issue?
The docs (https://bun.sh/docs/runtime/nodejs-compat#node:module and https://bun.com/reference/node/module/default/stripTypeScriptTypes) seem to suggest that this method is available.
However, it is not actually supported by Bun - I ran a quick test (see below) and also double-checked with a search. The only related issue I could find was #14973.
❯ bun repl
Welcome to Bun v1.3.3
Type ".help" for more information.
[!] Please note that the REPL implementation is still experimental!
Don't consider it to be representative of the stability or behavior of Bun overall.
> import { stripTypeScriptTypes } from "node:module";
SyntaxError: Import named 'stripTypeScriptTypes' not found in module 'node:module'.
Where did you find it?
No response
Metadata
Metadata
Assignees
Labels
docsImprovements or additions to documentationImprovements or additions to documentation