Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
About Type Syntax Proposal
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yosuke Kurami
May 14, 2022
Programming
1
2.2k
About Type Syntax Proposal
Yosuke Kurami
May 14, 2022
Tweet
Share
More Decks by Yosuke Kurami
See All by Yosuke Kurami
TypeScript LSP の今までとこれから
quramy
1
1.6k
フロントエンドテストの育て方
quramy
12
3.7k
App Router 悲喜交々
quramy
8
690
上手に付き合うコンポーネントテスト
quramy
6
2.3k
Patched fetch did not work
quramy
6
750
GraphQL あるいは React における自律的なデータ取得について
quramy
18
5.7k
Next.js App Router
quramy
15
3.8k
Fragment Composition of GraphQL
quramy
17
4.5k
reg-viz VRT tools
quramy
4
1.6k
Other Decks in Programming
See All in Programming
Patterns of Patterns
denyspoltorak
0
1.4k
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
dchart: charts from deck markup
ajstarks
3
990
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
270
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
CSC307 Lecture 01
javiergs
PRO
0
690
CSC307 Lecture 07
javiergs
PRO
0
550
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
200
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
ぼくの開発環境2026
yuzneri
0
180
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
190
Featured
See All Featured
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
300
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Designing for humans not robots
tammielis
254
26k
Designing for Performance
lara
610
70k
Utilizing Notion as your number one productivity tool
mfonobong
3
220
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
73
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
Site-Speed That Sticks
csswizardry
13
1.1k
Design in an AI World
tapps
0
140
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
Transcript
5ZQF4DSJQU͕&$."4DSJQUʹ ؚ·ΕΔ͕དྷΔ͔ʂ
5ZQF4ZOUBY1SPQPTBM https://github.com/tc39/proposal-type-annotations
5ZQF4ZOUBY1SPQPTBM w .JDSP4PGU͕5$ʹఏग़ͨ͠Ҋ ݄ݱࡏ4UBHF https://devblogs.microsoft.com/typescript/a-proposal-for-type-syntax-in-javascript/
5ZQF4ZOUBY1SPQPTBM w τϥϯεύΠϧͤͣʹɺ UTϑΝΠϧΛ࣮ߦͰ͖ΔΑ͏ʹͳΔ w ʮϒϥβ͕ܕνΣοΫΛͯ͘͠ΕΔʯΘ͚Ͱͳ͍ w 5ZQF4ZOUBYͱ͋ΔΑ͏ʹɺ4ZOUBY จ๏ ͷ
w 4FNBOUJDT ҙຯ ʹҰ౿Έࠐ·ͳ͍
5ZQF4ZOUBY1SPQPTBM w +BWB4DSJQUΤϯδϯ: numberͷ෦ΛΓམͱ࣮ͯ͠ߦ͢Δ͚ͩ 5ZQF"OOPUBUJPO͕ਖ਼͍͔͠Ͳ͏͔ෆ w $ tsc --target
esnextͱಉ͜͡ͱΛ+BWB4DSJQUΤϯδϯଆ͕ͬͯ͘ ΕΔΠϝʔδ
จ๏͕ඪ४Խ͞ΕΔҙຯ 'PS5ZQF4DSJQU w 5ZQF4DSJQUຊՈʹͱͬͯ w 5ZQF4ZOUBY͕&$."4DSJQUʹؚ·ΕΔͱɺߏจͷՃʹඪ४Խϓϩη εΛ௨աͤ͞Δඞཁ͕ൃੜ͢ΔʢউखʹߏจΛมߋͰ͖ͳ͍ʣ w .JDSP4PGU͕ࣗ5ZQF4ZOUBYΛఏҊ͍ͯ͠Δͱ͍͏͜ͱɺ൴Β͕ࣗ ʮ5ZQF4DSJQUͷߏจेʹݻ·͖ͬͯͨʯͱߟ͍͑ͯΔূࠨʁ
จ๏͕ඪ४Խ͞ΕΔҙຯ SE1BSUZ5SBOTQJMFS w ۙར༻͕ͨΓલʹͳΓͭͭ͋ΔɺCBCFM TXD FTCVJMEͳͲͷSEύʔς ΟτϥϯεύΠϥ w ͜ΕΒͷπʔϧ5ZQF4DSJQU༻ͷߏจղੳثΛ࣮͍ͯ͠Δ w
จ๏ͷඪ४ԽʹΑΓɺ҆ఆͨ͠ߏจղੳ͕ߦ͑ΔΑ͏ʹͳΔ w Ϗϧυ༻ͷτϥϯεύΠϥʹٻΊΒΕ͍ͯΔͷʮܕΞϊςʔγϣϯͷআʯ ͚ͩ XFCQBDLճ͢ͱ͖ʹܕνΣοΫ͍Βͳ͍
Ͳ͏උ͑Δ͔ w ݱঢ়4UBHFͰ͋Γɺࠓ͙͢ϢʔβʔϥϯυͰͲ͏͜͏͢ΔͰͳ͍ w Ұ෦ͷϥϯλΠϜʹӨڹΛٴ΅͢จ๏ FHOBNFTQBDF FOVN FUD ʹ͍ͭ ͯɺ5ZQF1SPQPTBMͷൣғ֎ͱ͞Ε͍ͯΔ
w ʮ͜ΕΒͷػೳΛੵۃతʹΘͳ͍Α͏ʹ͓ͯ͘͠ʯͷΞϦ
5IBOLZPV