Skip to content

Commit 91f4e14

Browse files
cspotcodetniessen
andauthored
Fix typo in module-type-overrides (#1431) (#1432)
Co-authored-by: Tobias Nießen <[email protected]>
1 parent 9a14af7 commit 91f4e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/module-type-overrides.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ When multiple patterns match the same file, the last pattern takes precedence.
4545

4646
Files with an overridden module type are transformed with the same limitations as [`isolatedModules`](https://www.typescriptlang.org/tsconfig#isolatedModules). This will only affect rare cases such as using `const enum`s with [`preserveConstEnums`](https://www.typescriptlang.org/tsconfig#preserveConstEnums) disabled.
4747

48-
This feature is meant to faciliate scenarios where normal `compilerOptions` and `package.json` configuration is not possible. For example, a `webpack.config.ts` cannot be given its own `package.json` to override `"type"`. Wherever possible you should favor using traditional `package.json` and `tsconfig.json` configurations.
48+
This feature is meant to facilitate scenarios where normal `compilerOptions` and `package.json` configuration is not possible. For example, a `webpack.config.ts` cannot be given its own `package.json` to override `"type"`. Wherever possible you should favor using traditional `package.json` and `tsconfig.json` configurations.

0 commit comments

Comments
 (0)