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
2k
About Type Syntax Proposal
Yosuke Kurami
May 14, 2022
Tweet
Share
More Decks by Yosuke Kurami
See All by Yosuke Kurami
App Router 悲喜交々
quramy
7
460
上手に付き合うコンポーネントテスト
quramy
4
1.8k
Patched fetch did not work
quramy
6
560
GraphQL あるいは React における自律的なデータ取得について
quramy
18
4.4k
Next.js App Router
quramy
15
3k
Fragment Composition of GraphQL
quramy
16
3.1k
reg-viz VRT tools
quramy
4
1.3k
NoInfer
quramy
0
220
Precondition with schema directives
quramy
0
1.4k
Other Decks in Programming
See All in Programming
CSC305 Lecture 26
javiergs
PRO
0
130
暇に任せてProxmoxコンソール 作ってみました
karugamo
1
640
Thoughts and experiences on Rust and TypeScript
unvalley
2
220
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
240
layerx_20241129.pdf
kyoheig3
2
270
たのしいparse.y
ydah
3
120
クリエイティブコーディングとRuby学習 / Creative Coding and Learning Ruby
chobishiba
0
3.8k
社内活動の取り組み紹介 ~ スリーシェイクでこんな取り組みしてます ~
bells17
0
400
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
1
410
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
160
AWS認定資格を勉強した先に何があったか
satoshi256kbyte
2
210
わたしの星のままで一番星になる ~ 出産を機にSIerからEC事業会社に転職した話 ~
kimura_m_29
0
160
Featured
See All Featured
Gamification - CAS2011
davidbonilla
80
5.1k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
RailsConf 2023
tenderlove
29
930
Typedesign – Prime Four
hannesfritz
40
2.4k
A Tale of Four Properties
chriscoyier
157
23k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Building an army of robots
kneath
302
44k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
The Pragmatic Product Professional
lauravandoore
32
6.3k
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