Skip to content

Commit 018d7df

Browse files
authored
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.
1 parent bcb802c commit 018d7df

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
@@ -206,8 +206,8 @@ are enabled by default.
206206
### Type stripping in dependencies
207207

208208
To discourage package authors from publishing packages written in TypeScript,
209-
Node.js will by default refuse to handle TypeScript files inside folders under
210-
a `node_modules` path.
209+
Node.js currently refuses to handle TypeScript files inside folders under a
210+
`node_modules` path.
211211

212212
### Paths aliases
213213

0 commit comments

Comments
 (0)