Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
TypeScript リテラル型について
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kosuke Ogawa
September 18, 2020
Technology
310
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
TypeScript リテラル型について
Webナイト宮崎 Vol.10 ~てげTypeScriptを学びたい~ - connpass
https://tegehoge.connpass.com/event/186724/
Kosuke Ogawa
September 18, 2020
More Decks by Kosuke Ogawa
See All by Kosuke Ogawa
PHP or die
koogawa
0
320
Nuxt.js で非同期なデータを取得するときのポイント
koogawa
0
350
Vue 入門者が日報ツールを作ってみた
koogawa
1
400
地方に住むエンジニアがこの先生きのこるには
koogawa
0
1.2k
Firestore のデータ設計について
koogawa
0
870
はじめてウェブサイトで Firebase を使ってみた
koogawa
1
490
iOSアプリ開発におけるJavaScript
koogawa
1
470
Stack Overflow活動 その後の活動報告
koogawa
1
220
「まりも」と iOS の 6年間
koogawa
4
7.6k
Other Decks in Technology
See All in Technology
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
0
200
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
330
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
140
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
430
初対面のメンバーがチームを組み、Claude Codeでゼロからサービスをリリース
mkdev10
1
120
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
170
OR学会2026年秋期大会_機械学習と数理最適化の融合による、配合レシピ最適化システム開発事例
brainpadpr
0
140
Kiro Crewをはじめよう
kizawa2020
1
150
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
610
ゲームのリアルタイム通信から見た QUIC と MoQ
segadevtech
0
110
Getting Started with Google Antigravity
glaforge
0
240
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
150
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
220
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
470
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
730
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
470
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
320
4 Signs Your Business is Dying
shpigford
187
23k
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
The Curious Case for Waylosing
cassininazir
1
570
Transcript
KOSUKE OGAWA 2020 WebφΠτٶ࡚ No. 10 Ϧςϥϧܕʹ͍ͭͯ
ࣗݾհ w 0HBXB,PTVLFʢ!LPPHBXBʣ w Ξϧגࣜձࣾʢ౦ژʣ w ٶ࡚͔ΒϑϧϦϞʔτ w J04 4XJGU
"OESPJE ,PUMJO 5ZQF4DSJQU $44 7VFKT /VYUKTͳͲ w ࠷ۙϑϩϯτΤϯυ͕ϝΠϯ
͋Δ ͱ͋ΔίʔυΛಡΜͰ͍ͨΒɺ ͜ΜͳίʔυΛݟ͚ͭͨ
w AAͱ͔AAͱ͍͏ܕ͕͋Δʂʁ w BOVNCFSͳΒΘ͔Δ
• 6 2000 ͔͠ڐ͞Εͳ͍ܕ • จࣈྻͷϦςϥϧܕ͋Δ • const b:
'bar' = 'foo'; // Τϥʔ: Type '"foo"' is not assignable to type ‘"bar"'. Ϧςϥϧܕͱ͍͏Β͍͠
• จࣈྻͷϦςϥϧܕΛ࣋ͭstringܕͱͯ͠ѻ͏͜ͱ͕Ͱ͖Δ จࣈྻͷϦςϥϧܕ
• ܕऍΛলུͯͪ͠ΌΜͱਪ͞ΕΔ Ϧςϥϧܕͱܕਪ
͍ಓ
• ϝϯόมͷΛมߋͯ͠΄͘͠ͳ͍ͱ͖ ͍ಓ1
• ϢχΦϯܕͰ݁߹͢Δ ͍ಓ2
͋Γ͕ͱ͏͍͟͝·ͨ͠