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
Yosuke Kurami
May 14, 2022
Programming
1
1.9k
About Type Syntax Proposal
Yosuke Kurami
May 14, 2022
Tweet
Share
More Decks by Yosuke Kurami
See All by Yosuke Kurami
Fragment Composition of GraphQL
quramy
7
1k
reg-viz VRT tools
quramy
4
830
NoInfer
quramy
0
110
Precondition with schema directives
quramy
0
1.1k
T3 Stack and TypeScript ecosystem
quramy
4
1.7k
apollo client / react / esm
quramy
1
200
Apollo Client useFragment
quramy
1
600
GraphQLとの向き合い方2022年版
quramy
32
12k
Generate React Component with TypeScript AST
quramy
6
2.9k
Other Decks in Programming
See All in Programming
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
5
950
PHPはいつから死んでいるかの調査
chiroruxx
1
400
GitHub Copilotのススメ
marcy731
1
200
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
540
エンターテイメント業界で利用されるAWS
demuyan
0
210
MicrosoftのPlatform Engineeringガイドを読んで実際になにかやってみた
ymd65536
1
370
VS Code をプロダクトにどう取り込むか
onomax
1
390
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
3
650
AmperとFleetを使ったAndroidアプリ
yoppie
0
120
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
360
Kotlin Multiplatform at Stable and Beyond (Android Makers 2024)
zsmb
0
300
見た目から始める生産性向上
ikumatadokoro
7
880
Featured
See All Featured
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Scaling GitHub
holman
457
140k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
244
20k
Automating Front-end Workflow
addyosmani
1356
200k
Designing on Purpose - Digital PM Summit 2013
jponch
110
6.5k
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
Testing 201, or: Great Expectations
jmmastey
28
6.4k
Designing for Performance
lara
601
67k
A designer walks into a library…
pauljervisheath
200
23k
Building a Modern Day E-commerce SEO Strategy
aleyda
17
6.4k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
274
13k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
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