mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
doc: update "Type stripping in dependencies" section
The docs state, "To discourage package authors from publishing packages written in TypeScript, Node.js will _by default_ refuse to handle TypeScript files inside folders under a `node_modules` path" (emphasis added). This suggests that there's a way to override that default. However, as far as I can tell, there is not. PR-URL: https://github.com/nodejs/node/pull/59652 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
This commit is contained in:
1 parent
4a317150d5
commit
e7bf712c57
1 file changed
+2
-2
@@ -202,8 +202,8 @@ are enabled by default.
|
||||
### Type stripping in dependencies
|
||||
|
||||
To discourage package authors from publishing packages written in TypeScript,
|
||||
Node.js will by default refuse to handle TypeScript files inside folders under
|
||||
a `node_modules` path.
|
||||
Node.js refuses to handle TypeScript files inside folders under a `node_modules`
|
||||
path.
|
||||
|
||||
### Paths aliases
|
||||
|
||||
|
||||
Reference in new issue
Block a user