Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite7bf712

Browse files
joshkeltargos
authored andcommitted
doc: update "Type stripping in dependencies" section
The docs state, "To discourage package authors from publishing packageswritten in TypeScript, Node.js will _by default_ refuse to handleTypeScript files inside folders under a `node_modules` path" (emphasisadded). This suggests that there's a way to override that default.However, as far as I can tell, there is not.PR-URL:#59652Reviewed-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>
1 parent4a31715 commite7bf712

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎doc/api/typescript.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ are enabled by default.
202202
###Type stripping in dependencies
203203

204204
To discourage package authors from publishing packages written in TypeScript,
205-
Node.jswill by default refuseto handle TypeScript files inside folders under
206-
a`node_modules`path.
205+
Node.jsrefusesto handle TypeScript files inside folders under a`node_modules`
206+
path.
207207

208208
###Paths aliases
209209

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp