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
Next.js App Router
quramy
14
2.3k
Fragment Composition of GraphQL
quramy
14
1.7k
reg-viz VRT tools
quramy
4
900
NoInfer
quramy
0
120
Precondition with schema directives
quramy
0
1.1k
T3 Stack and TypeScript ecosystem
quramy
4
1.7k
apollo client / react / esm
quramy
1
210
Apollo Client useFragment
quramy
1
630
GraphQLとの向き合い方2022年版
quramy
33
13k
Other Decks in Programming
See All in Programming
RustでAWS Lambda functionをいい感じに書く
taiki45
2
150
TypeScript Custom GitHub Action Development Tips
peaceiris
5
800
otelcol receiver 自作RTA / Pepabo Tech Conference #22 春のSREまつり
arthur1
0
1.1k
戦略的DDDは重いのか? / Is strategic DDD heavy?
pictiny
3
2.2k
Implementing Design Systems in Swift
seyfoyun
2
530
FoodGram
iseruuuuu
0
230
仕様と実装で学ぶOpenTelemetry
drumato
2
1.2k
Deep Dive into React Stream/Serialize
mugi_uno
4
870
JS RPCを理解する
yusukebe
5
300
GNU Makeの使い方 / How to use GNU Make
kaityo256
PRO
13
4.4k
Productivity is Messing Around and Having Fun
hollycummins
1
180
Exploring the Implementation of “t.Run”, “t.Parallel”, and “t.Cleanup”
akarin
1
160
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
15
1.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
275
13k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
117
18k
Building a Modern Day E-commerce SEO Strategy
aleyda
22
6.5k
Happy Clients
brianwarren
92
6.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
242
1.2M
Docker and Python
trallard
35
2.7k
Building an army of robots
kneath
300
41k
In The Pink: A Labor of Love
frogandcode
138
21k
How to Ace a Technical Interview
jacobian
273
22k
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