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
TypeScript リテラル型について
Search
Kosuke Ogawa
September 18, 2020
Technology
290
1
Share
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
290
Nuxt.js で非同期なデータを取得するときのポイント
koogawa
0
330
Vue 入門者が日報ツールを作ってみた
koogawa
1
380
地方に住むエンジニアがこの先生きのこるには
koogawa
0
1.2k
Firestore のデータ設計について
koogawa
0
820
はじめてウェブサイトで Firebase を使ってみた
koogawa
1
470
iOSアプリ開発におけるJavaScript
koogawa
1
450
Stack Overflow活動 その後の活動報告
koogawa
1
210
「まりも」と iOS の 6年間
koogawa
4
7.4k
Other Decks in Technology
See All in Technology
昔はシンプルだった_AmazonS3
kawaji_scratch
0
330
Data Hubグループ 紹介資料
sansan33
PRO
0
2.9k
AI와 협업하는 조직으로의 여정
arawn
0
380
AI時代 に増える データ活用先
takahal
0
220
AzureのIaC管理からログ調査まで、随所に役立つSkillsとCustom-Instructions / Boosting IaC and Log Analysis with Skills
aeonpeople
0
230
[OAWTT26][THR1028] Oracle AI Database 26ai へのアップグレード:ベストプラクティスと最新情報
oracle4engineer
PRO
1
100
Hacobu Tech Deck
hacobu
PRO
0
110
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
Standards et agents IA : un tour d’horizon de MCP, A2A, ADK et plus encore
glaforge
0
160
AIでAIをテストする - 音声AIエージェントの品質保証戦略
morix1500
1
120
M5Stack CoreS3とZephyr(RTOS)で Edge AIっぽいことしてみた
iotengineer22
0
150
Chasing Real-Time Observability for CRuby
whitegreen
0
110
Featured
See All Featured
Leo the Paperboy
mayatellez
7
1.7k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
890
Ethics towards AI in product and experience design
skipperchong
2
260
Everyday Curiosity
cassininazir
0
200
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
180
Statistics for Hackers
jakevdp
799
230k
The Invisible Side of Design
smashingmag
302
52k
WCS-LA-2024
lcolladotor
0
540
Designing for humans not robots
tammielis
254
26k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Utilizing Notion as your number one productivity tool
mfonobong
4
290
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
͋Γ͕ͱ͏͍͟͝·ͨ͠