[ja translation] TypeScript-Website/packages/documentation/copy/en/javascript/*.md#1478
Conversation
|
Thanks for the PR! This section of the codebase is owned by @sasurau4, @Quramy, @Naturalclar, and @Takepepe - if they write a comment saying "LGTM" then it will be merged. |
…into feature/translation-docs-javascript
sasurau4
left a comment
There was a problem hiding this comment.
packages/documentation/copy/ja/javascript/Creating DTS files From JS.mdだけ見ました
他のは後日見ます 🙏
packages/documentation/copy/ja/javascript/Creating DTS files From JS.md
Outdated
Show resolved
Hide resolved
packages/documentation/copy/ja/javascript/Creating DTS files From JS.md
Outdated
Show resolved
Hide resolved
packages/documentation/copy/ja/javascript/Creating DTS files From JS.md
Outdated
Show resolved
Hide resolved
packages/documentation/copy/ja/javascript/Creating DTS files From JS.md
Outdated
Show resolved
Hide resolved
packages/documentation/copy/ja/javascript/Creating DTS files From JS.md
Outdated
Show resolved
Hide resolved
packages/documentation/copy/ja/javascript/Creating DTS files From JS.md
Outdated
Show resolved
Hide resolved
packages/documentation/copy/ja/javascript/Creating DTS files From JS.md
Outdated
Show resolved
Hide resolved
sasurau4
left a comment
There was a problem hiding this comment.
Review遅くなりました 🙏
ありがとうございます 👍
packages/documentation/copy/ja/javascript/Intro to JS with TS.md
Outdated
Show resolved
Hide resolved
packages/documentation/copy/ja/javascript/Intro to JS with TS.md
Outdated
Show resolved
Hide resolved
| // パラメータは様々な構文形式で宣言することができます | ||
| /** | ||
| * @param {string} p1 - 文字列パラメータ | ||
| * @param {string=} p2 - オプションのパラメータ(Closure構文) |
There was a problem hiding this comment.
IMO: オプションでもいいんですが、設定と勘違いしそうなので、オプショナルの方が明確かと思いました
以下、オプションになってるところすべて同様です
採用するかはおまかせします。
| * @param {string=} p2 - オプションのパラメータ(Closure構文) | |
| * @param {string=} p2 - オプショナルなパラメータ(Closure構文) |
There was a problem hiding this comment.
https://github.com/microsoft/TypeScript-Website/pull/1478/files#r556283287 にて、"任意"とコメントいただいたので、オプションをすべて"任意"に変更しようと思います
packages/documentation/copy/ja/javascript/Type Checking JavaScript Files.md
Outdated
Show resolved
Hide resolved
packages/documentation/copy/ja/javascript/Type Checking JavaScript Files.md
Outdated
Show resolved
Hide resolved
packages/documentation/copy/ja/javascript/Type Checking JavaScript Files.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Daiki Ihara <sasurau4@gmail.com>
|
|
||
| TypeScriptは、.d.tsファイルを見つけるためのステップを追加し、`package.json`の中でNodeのモジュール解決を再現します。 | ||
| 大まかには、モジュール解決はオプションである`"types"`フィールドをチェックし、次に`"main"`フィールド、そして最後にルートの`index.d.ts`を試します。 | ||
| 大まかには、モジュール解決は任意のフィールドである`"types"`フィールドをチェックし、次に`"main"`フィールド、そして最後にルートの`index.d.ts`を試します。 |
There was a problem hiding this comment.
そのまま「オプション」を「任意」に置き換えると変だったので、少し冗長かもですが、「任意のフィールド」としました
|
@sasurau4 いつもレビューありがとうございます 🙇 |
ref: #220
original files:
diff: f57223d