-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[ja translation] playground-example/3-8,3-9 #1369
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
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
packages/playground-examples/copy/ja/3-7/Types and Code Flow/Assertion Functions.ts
Outdated
Show resolved
Hide resolved
packages/playground-examples/copy/ja/3-7/Types and Code Flow/Assertion Functions.ts
Outdated
Show resolved
Hide resolved
// インポートなしで使用することができます。 | ||
|
||
// でもここでは、自前で定義してみましょう。 valueという式が | ||
// trueであることをアサートする関数を次のように定義します: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
行数を変えると元の文とのdiffがずれてしまうので、合わせてもらえると 🙏
packages/playground-examples/copy/ja/3-7/Types and Code Flow/Assertion Functions.ts
Outdated
Show resolved
Hide resolved
packages/playground-examples/copy/ja/3-7/Types and Code Flow/Assertion Functions.ts
Outdated
Show resolved
Hide resolved
packages/playground-examples/copy/ja/3-8/Syntax and Messaging/Private Class Fields.ts
Outdated
Show resolved
Hide resolved
packages/playground-examples/copy/ja/3-8/Syntax and Messaging/Private Class Fields.ts
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,48 @@ | |||
//// { compiler: { ts: "3.8.3" } } | |||
// 3.8では、型をインポートするための新しい構文を追加しました。 | |||
// これはflowユーザーにはおなじみのものです。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
分かりやすい 👍
packages/playground-examples/copy/ja/3-8/Syntax and Messaging/Type Imports.tsx
Outdated
Show resolved
Hide resolved
packages/playground-examples/copy/ja/3-8/Syntax and Messaging/Type Imports.tsx
Outdated
Show resolved
Hide resolved
…ssertion Functions.ts Co-authored-by: Daiki Ihara <[email protected]>
…ssertion Functions.ts Co-authored-by: Daiki Ihara <[email protected]>
…ssertion Functions.ts Co-authored-by: Daiki Ihara <[email protected]>
…ssertion Functions.ts Co-authored-by: Daiki Ihara <[email protected]>
Co-authored-by: Daiki Ihara <[email protected]>
packages/playground-examples/copy/ja/3-7/Types and Code Flow/Assertion Functions.ts
Outdated
Show resolved
Hide resolved
packages/playground-examples/copy/ja/3-8/Syntax and Messaging/Type Imports.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Daiki Ihara <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@orta Hmm, code owners merge failed again. 👀 |
Boo! Sorry about that |
ref: #220
files:
Assertion Functions.ts
Recursive Type References.ts
Uncalled Function Checks.ts
Accessibility Modifiers.js
Export Modules From.ts
Private Class Fields.ts
Type Imports.tsx
diff: 8a61959