-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Translate/some options into ja 2 #314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
packages/tsconfig-reference/copy/ja/options/disableSizeLimit.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
display: "Disable Size Limit" | ||
oneline: "Remove the memory cap on the TypeScript language server" | ||
--- | ||
|
||
非常に大規模なJavaScriptプロジェクトで作業するときに発生する可能性のある使用メモリの膨張を避けるために、TypeScriptが割り当てられるメモリの量には上限があります。このフラグを設定すると、この制限を取り除きます。 |
8 changes: 8 additions & 0 deletions
8
packages/tsconfig-reference/copy/ja/options/disableSolutionSearching.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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_や_定義へ移動_などの機能を使う際に含めたくないプロジェクトを宣言する方法を提供します。 | ||
|
||
このフラグは大規模な複合プロジェクトで応答性を高めるために使用できるものです。 |
7 changes: 7 additions & 0 deletions
7
...s/tsconfig-reference/copy/ja/options/disableSourceOfProjectReferenceRedirect.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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のファイルになりました。 |
38 changes: 38 additions & 0 deletions
38
packages/tsconfig-reference/copy/ja/options/noEmitHelpers.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 {}; | ||
}; | ||
``` |
23 changes: 23 additions & 0 deletions
23
packages/tsconfig-reference/copy/ja/options/noImplicitUseStrict.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() {} | ||
``` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.