Skip to content

Commit 7f8ff86

Browse files
Sync with TypeScript-Website @ ceccb75 (#183)
2 parents 4472bfd + e0ebfa7 commit 7f8ff86

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Diff for: packages/documentation/copy/en/handbook-v2/More on Functions.md

-1
Original file line numberDiff line numberDiff line change
@@ -886,5 +886,4 @@ const f3 = function (): void {
886886

887887
For more on `void` please refer to these other documentation entries:
888888

889-
- [v2 handbook](https://www.typescriptlang.org/docs/handbook/2/functions.html#void)
890889
- [FAQ - "Why are functions returning non-void assignable to function returning void?"](https://github.com/Microsoft/TypeScript/wiki/FAQ#why-are-functions-returning-non-void-assignable-to-function-returning-void)

Diff for: packages/documentation/copy/en/project-config/Compiler Options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
274274
<td><code><a href='/tsconfig/#allowImportingTsExtensions'>--allowImportingTsExtensions</a></code></td>
275275
<td><p><code>boolean</code></p>
276276
</td>
277-
<td><p><code>false</code></p>
277+
<td><p><code>true</code> if <a href="#rewriteRelativeImportExtensions"><code>rewriteRelativeImportExtensions</code></a>; <code>false</code> otherwise.</p>
278278
</td>
279279
</tr>
280280
<tr class="option-description even"><td colspan="3">

Diff for: packages/tsconfig-reference/scripts/tsconfigRules.ts

+1
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ export const defaultsForOptions = {
268268
"`true` if [`target`](#target) is `ES2022` or higher, including `ESNext`;",
269269
"`false` otherwise.",
270270
],
271+
allowImportingTsExtensions: trueIf("rewriteRelativeImportExtensions"),
271272
};
272273

273274
function formatDefaultValue(

0 commit comments

Comments
 (0)