diff --git a/packages/tsconfig-reference/copy/ja/options/disableSizeLimit.md b/packages/tsconfig-reference/copy/ja/options/disableSizeLimit.md new file mode 100644 index 000000000000..593dfda61021 --- /dev/null +++ b/packages/tsconfig-reference/copy/ja/options/disableSizeLimit.md @@ -0,0 +1,6 @@ +--- +display: "Disable Size Limit" +oneline: "Remove the memory cap on the TypeScript language server" +--- + +非常に大規模なJavaScriptプロジェクトで作業するときに発生する可能性のある使用メモリの膨張を避けるために、TypeScriptが割り当てられるメモリの量には上限があります。このフラグを設定すると、この制限を取り除きます。 diff --git a/packages/tsconfig-reference/copy/ja/options/disableSolutionSearching.md b/packages/tsconfig-reference/copy/ja/options/disableSolutionSearching.md new file mode 100644 index 000000000000..6cd6a8363df0 --- /dev/null +++ b/packages/tsconfig-reference/copy/ja/options/disableSolutionSearching.md @@ -0,0 +1,8 @@ +--- +display: "Disable Solution Searching" +oneline: " Opt a project out of multi-project reference checking" +--- + +[複合TypeScriptプロジェクト](/docs/handbook/project-references.html)で作業する場合、このオプションはエディタで_find all references_や_定義へ移動_などの機能を使う際に含めたくないプロジェクトを宣言する方法を提供します。 + +このフラグは大規模な複合プロジェクトで応答性を高めるために使用できるものです。 diff --git a/packages/tsconfig-reference/copy/ja/options/disableSourceOfProjectReferenceRedirect.md b/packages/tsconfig-reference/copy/ja/options/disableSourceOfProjectReferenceRedirect.md new file mode 100644 index 000000000000..873df055af93 --- /dev/null +++ b/packages/tsconfig-reference/copy/ja/options/disableSourceOfProjectReferenceRedirect.md @@ -0,0 +1,7 @@ +--- +display: "Disable Source Project Reference Redirect" +oneline: "Use d.ts files as the source of truth for tooling between composite project boundries" +--- + +[複合TypeScriptプロジェクト](/docs/handbook/project-references.html)で作業する場合、このオプションはモジュール間の境界としてd.tsファイルが使用されていた[3.7以前](/docs/handbook/release-notes/typescript-3-7.html#build-free-editing-with-project-references)の挙動に戻す方法を提供します。 +3.7にて、信頼できる情報源はTypeScriptのファイルになりました。 diff --git a/packages/tsconfig-reference/copy/ja/options/noEmitHelpers.md b/packages/tsconfig-reference/copy/ja/options/noEmitHelpers.md new file mode 100644 index 000000000000..35e55723287a --- /dev/null +++ b/packages/tsconfig-reference/copy/ja/options/noEmitHelpers.md @@ -0,0 +1,38 @@ +--- +display: "No Emit Helpers" +oneline: "Assume helpers are available in the global runtime" +--- + +[`importHelpers`](#importHelpers)を使って、ヘルパ関数をインポートする代わりに、グローバルスコープに使用するヘルパ関数のための実装を提供し、ヘルパ関数が出力されるのを完全に無効にできます。 + +例えば、この`async`関数をES5で実行するためには、`await`のような関数と`generator`のような関数が必要です: + +```ts twoslash +const getAPI = async (url: string) => { + // Get API + return {}; +}; +``` + +これは、とても多くのJavaScriptを生成します: + +```ts twoslash +// @showEmit +// @target: ES5 +const getAPI = async (url: string) => { + // Get API + return {}; +}; +``` + +このフラグを通じて、独自のグローバル実装に切り替えられます: + +```ts twoslash +// @showEmit +// @target: ES5 +// @noEmitHelpers +const getAPI = async (url: string) => { + // Get API + return {}; +}; +``` diff --git a/packages/tsconfig-reference/copy/ja/options/noImplicitUseStrict.md b/packages/tsconfig-reference/copy/ja/options/noImplicitUseStrict.md new file mode 100644 index 000000000000..6a040472866a --- /dev/null +++ b/packages/tsconfig-reference/copy/ja/options/noImplicitUseStrict.md @@ -0,0 +1,23 @@ +--- +display: "No Implicit Use Strict" +oneline: "Disable 'use strict' in the JS emit" +--- + +これは必要ないはずです。ES6でないターゲットでモジュールを出力する際に、TypeScriptはデフォルトで`"use strict;"`という前置きをファイルの一番始めに出力します。 +この設定は、この前置きを無効にします。 + +```ts twoslash +// @showEmit +// @target: ES3 +// @module: AMD +// @noImplicitUseStrict +// @alwaysStrict: false +export function fn() {} +``` + +```ts twoslash +// @showEmit +// @target: ES3 +// @module: AMD +export function fn() {} +```